mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
r14940@tombo: nickm | 2007-11-25 12:01:37 -0500
New mm-internal.h header that includes internal memory management functions. svn:r542
This commit is contained in:
parent
7eb250e9c5
commit
555e300ab2
22
mm-internal.h
Normal file
22
mm-internal.h
Normal file
@ -0,0 +1,22 @@
|
||||
|
||||
#ifndef _EVENT_MM_INTERNAL_H
|
||||
#define _EVENT_MM_INTERNAL_H
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Internal use only: Memory allocation functions. */
|
||||
void *event_malloc(size_t sz);
|
||||
void *event_calloc(size_t count, size_t size);
|
||||
char *event_strdup(const char *s);
|
||||
void *event_realloc(void *p, size_t sz);
|
||||
void event_free(void *p);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user