]> git.draconx.ca Git - cdecl99.git/blobdiff - test/test.h
Add a tool to generate random declarations.
[cdecl99.git] / test / test.h
diff --git a/test/test.h b/test/test.h
new file mode 100644 (file)
index 0000000..dc661e3
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef CDECL_TEST_H_
+#define CDECL_TEST_H_
+
+#include <stddef.h>
+#include <stdbool.h>
+
+struct cdecl_declspec;
+struct cdecl;
+
+void *malloc_nofail(size_t size);
+void *realloc_nofail(void *ptr, size_t size);
+void test_print_specifiers(struct cdecl_declspec *spec);
+void test_print_decl(struct cdecl *decl);
+
+bool strict_strtoul(unsigned long *val, const char *str, int base);
+
+#endif