浏览代码

Write missing function comments

rl1987 6 年之前
父节点
当前提交
7b30f8dc8c
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/test/test_ptr_slow.c

+ 3 - 0
src/test/test_ptr_slow.c

@@ -36,6 +36,7 @@ assert_int_voidptr_roundtrip(int a)
   return;
 }
 
+/** Test for possibility of casting `int` to `void *` and back. */
 static void
 test_int_voidstar_interop(void *arg)
 {
@@ -61,6 +62,7 @@ test_int_voidstar_interop(void *arg)
   }
 }
 
+/** Assert that <b>a</b> can be cast to void * and back. */
 static void
 assert_uint_voidptr_roundtrip(unsigned int a)
 {
@@ -76,6 +78,7 @@ assert_uint_voidptr_roundtrip(unsigned int a)
   return;
 }
 
+/** Test for possibility of casting `int` to `void *` and back. */
 static void
 test_uint_voidstar_interop(void *arg)
 {