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>