diff options
author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2020-04-28 14:27:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 14:27:31 -0400 |
commit | bdd8485de4cde8dba67b27146feda5fd821cd7ef (patch) | |
tree | 1f87a54f617b7054c2bb7b66e4e30488c40268f4 /tests/framework.h | |
parent | 338abde356efcae6cf0a000b71b781d21c8733b6 (diff) | |
parent | 428849beb3be85cf69f3ca3029d330ee2f2d842f (diff) | |
download | spmc-bdd8485de4cde8dba67b27146feda5fd821cd7ef.tar.gz |
Merge pull request #31 from jhunkeler/strlist-helpers
Strlist helpers
Diffstat (limited to 'tests/framework.h')
-rw-r--r-- | tests/framework.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/framework.h b/tests/framework.h index 312e917..9b56267 100644 --- a/tests/framework.h +++ b/tests/framework.h @@ -8,15 +8,20 @@ union TestValue { const char *sptr; char **slptr; const char **cslptr; - char character; - unsigned int unsigned_integer; - signed int signed_integer; + unsigned char unsigned_char; + char signed_char; + unsigned short unsigned_short; + signed short signed_short; + unsigned int unsigned_int; + signed int signed_int; unsigned long unsigned_long; signed long signed_long; unsigned long long unsigned_long_long; signed long long signed_long_long; float floating; + void *voidptr; char str[PATH_MAX]; + char *strlptr[255]; }; struct TestCase { |