feat: adapt to stellar-2.0

This commit is contained in:
lijia
2024-06-07 19:03:56 +08:00
parent 1ab2559887
commit 82cd2ced07
17 changed files with 605 additions and 723 deletions

5
src/quic_util.h Normal file
View File

@@ -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;}