]> git.draconx.ca Git - cdecl99.git/blob - test/test.h
b8f7ee39273ddaca8ca72abdd7efb8c1856f47a2
[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 void test_explain_decl(struct cdecl *decl);
15
16 bool strict_strtoul(unsigned long *val, const char *str, int base);
17
18 void test_print_version(const char *program);
19
20 #endif