]> git.draconx.ca Git - cdecl99.git/blob - test/test.h
Add a test case to check if libcdecl can parse its own output.
[cdecl99.git] / test / test.h
1 #ifndef CDECL_TEST_H_
2 #define CDECL_TEST_H_
3
4 #include <stddef.h>
5 #include <stdbool.h>
6
7 struct cdecl_declspec;
8 struct cdecl;
9
10 void *malloc_nofail(size_t size);
11 void *realloc_nofail(void *ptr, size_t size);
12 void test_print_specifiers(struct cdecl_declspec *spec);
13 void test_print_decl(struct cdecl *decl);
14
15 bool strict_strtoul(unsigned long *val, const char *str, int base);
16
17 void test_print_version(const char *program);
18
19 #endif