Home GnuPG

core: New API functions gpgrt_malloc, gpgrt_calloc, and gpgrt_realloc.

Description

core: New API functions gpgrt_malloc, gpgrt_calloc, and gpgrt_realloc.

* src/visibility.c (gpgrt_realloc): New API function.
(gpgrt_malloc): New API function.
(gpgrt_calloc): New API function.
* src/visibility.h: Add corresponding macros.
* src/gpg-error.def.in: Add them.
* src/gpg-error.vers: Add them.
* src/init.c (_gpgrt_calloc): New.
* src/gpg-error.h.in: Add prototypes.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Nov 17 2017, 11:00 AM
Parents
rE1b653e7f37e2: core: Add logging API.
Branches
Unknown
Tags
Unknown