summaryrefslogtreecommitdiffstats
path: root/example/pool.c
diff options
context:
space:
mode:
authorEthan Werner <mail@ethanwerner.com>2024-04-17 16:00:00 -0700
committerEthan Werner <mail@ethanwerner.com>2026-06-08 16:01:49 +0400
commitf6a144987cc403de8ad6bddd055f756120f8d405 (patch)
tree3b4cfc8c76db7adba8504dc0e079466e2a0d336c /example/pool.c
archival commit
Diffstat (limited to 'example/pool.c')
-rwxr-xr-xexample/pool.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/example/pool.c b/example/pool.c
new file mode 100755
index 0000000..8b1fafd
--- /dev/null
+++ b/example/pool.c
@@ -0,0 +1,7 @@
+#define POOL_IMPLEMENTATION
+#include "../include/pool.h"
+
+int main() {
+ pool_t*p = pool_init(10, 100);
+ pool_print(p);
+} \ No newline at end of file