diff options
author | Karl Williamson <khw@cpan.org> | 2019-08-30 14:09:48 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-09-02 21:52:11 -0600 |
commit | 7dfc378e24c21467deb8f13256031c2c6ff63efd (patch) | |
tree | df777a80ad3ff3db41427fe431cd2039b07ae91e | |
parent | ffd7c33adae91db87322fdbc5a4b1e3713f638d3 (diff) | |
download | perl-7dfc378e24c21467deb8f13256031c2c6ff63efd.tar.gz |
Note that [cm]alloc, realloc are documented
As they are really Unix calls
-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) { |