summaryrefslogtreecommitdiff
path: root/generators.h
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2014-06-20 22:55:59 -0500
committerBobby Bingham <koorogi@koorogi.info>2014-06-20 22:55:59 -0500
commit5fa0d5023f0e2935f99b04422f3a338d77264107 (patch)
treed3ce357870a0a816cbda5add42ea14f0fce94053 /generators.h
Initial commit: benchmark musl's qsort
Diffstat (limited to 'generators.h')
-rw-r--r--generators.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/generators.h b/generators.h
new file mode 100644
index 0000000..e08a0be
--- /dev/null
+++ b/generators.h
@@ -0,0 +1,8 @@
+#include <stddef.h>
+
+typedef void (*generatorfn)(int *, size_t);
+
+extern const struct generator {
+ const char *name;
+ generatorfn func;
+} generators[];