about summary refs log tree commit diff stats
path: root/src/include/khash.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-10-23 19:19:30 +0200
committerptitSeb <sebastien.chev@gmail.com>2022-10-23 19:19:30 +0200
commit95622ca964ab37dff95e48d9d49c943df06b30d5 (patch)
treef64db50dc3659e9d1e6165138da89d63eaee915b /src/include/khash.h
parent76b63de7542efe4b0bc56710eece0d0aa3b7579f (diff)
downloadbox64-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-xsrc/include/khash.h8
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;