fix: forward strdup / strndup

This commit is contained in:
Max Altgelt 2023-06-22 12:15:11 +02:00
parent 4e50d6714d
commit 86ba46302a
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4F912AADDEAFC25B

View file

@ -132,6 +132,8 @@ typedef struct mi_nothrow_s { int _tag; } mi_nothrow_t;
mi_decl_export void* malloc(size_t size) MI_FORWARD1(mi_malloc, size)
mi_decl_export void* calloc(size_t size, size_t n) MI_FORWARD2(mi_calloc, size, n)
mi_decl_export void* realloc(void* p, size_t newsize) MI_FORWARD2(mi_realloc, p, newsize)
mi_decl_export char* strdup(const char* str) MI_FORWARD1(mi_strdup, str)
mi_decl_export char* strndup(const char* str, size_t n) MI_FORWARD2(mi_strndup, str, n)
mi_decl_export void free(void* p) MI_FORWARD0(mi_free, p)
#endif