diff options
author | axtloss <axtlos@getcryst.al> | 2024-07-11 00:31:04 +0200 |
---|---|---|
committer | axtloss <axtlos@getcryst.al> | 2024-07-11 00:31:04 +0200 |
commit | e8f6d6c71b45062cc7ec4dcadcecba44af39a15d (patch) | |
tree | a6c877d325af682254a561d13da3b60b4edb95e6 /src/extlib.h | |
parent | d967cb6465d0856185bbf20267805ef38b6ff931 (diff) | |
download | extlib-e8f6d6c71b45062cc7ec4dcadcecba44af39a15d.tar.gz extlib-e8f6d6c71b45062cc7ec4dcadcecba44af39a15d.tar.bz2 |
depcreate malloc_secure for calloc
Diffstat (limited to '')
-rw-r--r-- | src/extlib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extlib.h b/src/extlib.h index a292707..87948f5 100644 --- a/src/extlib.h +++ b/src/extlib.h @@ -23,11 +23,11 @@ #ifdef USE_SECURE_MEM #define free(x) error - use free_secure -#define malloc(x) error - use malloc_secure /// Automatically zero out a pointer before freeing it void free_secure (void **__ptr, size_t ptrlen); +/// DEPRECATED: use calloc /// Automatically initialise the allocated memory with zeros void *malloc_secure (size_t len); #endif |