Write missing function comments

This commit is contained in:
rl1987 2019-03-22 13:04:06 +02:00
parent 13b28063f9
commit 7b30f8dc8c

View File

@ -36,6 +36,7 @@ assert_int_voidptr_roundtrip(int a)
return; return;
} }
/** Test for possibility of casting `int` to `void *` and back. */
static void static void
test_int_voidstar_interop(void *arg) 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 static void
assert_uint_voidptr_roundtrip(unsigned int a) assert_uint_voidptr_roundtrip(unsigned int a)
{ {
@ -76,6 +78,7 @@ assert_uint_voidptr_roundtrip(unsigned int a)
return; return;
} }
/** Test for possibility of casting `int` to `void *` and back. */
static void static void
test_uint_voidstar_interop(void *arg) test_uint_voidstar_interop(void *arg)
{ {