summaryrefslogtreecommitdiff
path: root/ccc.h
diff options
context:
space:
mode:
authorCarson Fleming <cflems@cflems.net>2026-07-26 19:20:30 -0700
committerCarson Fleming <cflems@cflems.net>2026-07-26 19:20:30 -0700
commit4f9d0247549b06ddb25b76bb425541190105cb48 (patch)
tree56f191c3611fc7509e6350138ce03c20956b656f /ccc.h
parent6a169de321b131e73b86967a1a8564365217275a (diff)
downloadccc-4f9d0247549b06ddb25b76bb425541190105cb48.tar.gz
functioning type system perhaps?
Diffstat (limited to 'ccc.h')
-rw-r--r--ccc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ccc.h b/ccc.h
index 475704a..3542e60 100644
--- a/ccc.h
+++ b/ccc.h
@@ -2,8 +2,11 @@
#define CCC_H
#define CCC_PANIC { perror("ccc"); exit(1); }
+#define ARRAY_SZ(x) (sizeof(x) / sizeof(x[0]))
typedef unsigned long long integral_t;
typedef double floating_t;
+void* ccc_alloc(integral_t sz);
+
#endif