diff options
| author | 李佳 <[email protected]> | 2024-07-10 06:58:33 +0000 |
|---|---|---|
| committer | lijia <[email protected]> | 2024-07-11 11:23:10 +0800 |
| commit | 4782225f29b6f80ee023297d0a0726c6c798e3d7 (patch) | |
| tree | 35e385984c8312daf1de3f479af5523928626f54 /src/quic_util.h | |
Initial commitv1.0.1
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 |
