summaryrefslogtreecommitdiff
path: root/src/quic_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quic_util.h')
-rw-r--r--src/quic_util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/quic_util.h b/src/quic_util.h
new file mode 100644
index 0000000..e147e23
--- /dev/null
+++ b/src/quic_util.h
@@ -0,0 +1,5 @@
+#pragma once
+
+#define CALLOC(nmemb, size) calloc(nmemb, size)
+#define REALLOC(ptr, newsize) realloc(ptr, newsize)
+#define FREE(p) {free((void *)p); p = NULL;} \ No newline at end of file