diff options
-rw-r--r-- | embed.fnc | 6 | ||||
-rw-r--r-- | malloc.c | 9 |
2 files changed, 12 insertions, 3 deletions
@@ -321,9 +321,9 @@ ATo |PerlInterpreter*|perl_clone_using \ # endif #endif -AaTop |Malloc_t|malloc |MEM_SIZE nbytes -AaTop |Malloc_t|calloc |MEM_SIZE elements|MEM_SIZE size -ARTop |Malloc_t|realloc |Malloc_t where|MEM_SIZE nbytes +AaTophd |Malloc_t|malloc |MEM_SIZE nbytes +AaTophd |Malloc_t|calloc |MEM_SIZE elements|MEM_SIZE size +ARTophd |Malloc_t|realloc |Malloc_t where|MEM_SIZE nbytes ATop |Free_t |mfree |Malloc_t where #if defined(MYMALLOC) TpR |MEM_SIZE|malloced_size |NN void *p @@ -1223,6 +1223,15 @@ S_adjust_size_and_find_bucket(size_t *nbytes_p) return bucket; } +/* +These have the same interfaces as the C lib ones, so are considered documented + +=for apidoc malloc +=for apidoc calloc +=for apidoc realloc +=cut +*/ + Malloc_t Perl_malloc(size_t nbytes) { |