diff options
| author | 李佳 <[email protected]> | 2024-07-10 06:58:33 +0000 |
|---|---|---|
| committer | lijia <[email protected]> | 2024-07-17 16:29:42 +0800 |
| commit | 60b96b10eb985d13ef6df0f4fc525074e7128325 (patch) | |
| tree | 5b5b833295c37ae52c02eb9ccccc4dfa5598a377 /src/quic_util.h | |
Initial commitv1.0.2
Diffstat (limited to 'src/quic_util.h')
| -rw-r--r-- | src/quic_util.h | 5 |
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 |
