diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-10-23 19:19:30 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2022-10-23 19:19:30 +0200 |
| commit | 95622ca964ab37dff95e48d9d49c943df06b30d5 (patch) | |
| tree | f64db50dc3659e9d1e6165138da89d63eaee915b /src/include/khash.h | |
| parent | 76b63de7542efe4b0bc56710eece0d0aa3b7579f (diff) | |
| download | box64-95622ca964ab37dff95e48d9d49c943df06b30d5.tar.gz box64-95622ca964ab37dff95e48d9d49c943df06b30d5.zip | |
Forgot a bunch of other box_ malloc/realloc/calloc/free use
Diffstat (limited to 'src/include/khash.h')
| -rwxr-xr-x | src/include/khash.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/khash.h b/src/include/khash.h index dfce7aff..9d20a0e6 100755 --- a/src/include/khash.h +++ b/src/include/khash.h @@ -167,16 +167,16 @@ typedef khint_t khiter_t; #endif #ifndef kcalloc -#define kcalloc(N,Z) calloc(N,Z) +#define kcalloc(N,Z) box_calloc(N,Z) #endif #ifndef kmalloc -#define kmalloc(Z) malloc(Z) +#define kmalloc(Z) box_malloc(Z) #endif #ifndef krealloc -#define krealloc(P,Z) realloc(P,Z) +#define krealloc(P,Z) box_realloc(P,Z) #endif #ifndef kfree -#define kfree(P) free(P) +#define kfree(P) box_free(P) #endif static const double __ac_HASH_UPPER = 0.77; |