Edit

kc3-lang/libevent/mm-internal.h

Branch :

  • Show log

    Commit

  • Author : Nick Mathewson
    Date : 2008-04-25 01:18:08
    Hash : 49868b61
    Message : r15316@tombo: nickm | 2008-04-24 20:58:36 -0400 Rename internal memory management functions from event_malloc() etc to mm_malloc() etc. svn:r725

  • mm-internal.h
  • #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 *mm_malloc(size_t sz);
    void *mm_calloc(size_t count, size_t size);
    char *mm_strdup(const char *s);
    void *mm_realloc(void *p, size_t sz);
    void mm_free(void *p);
    
    #ifdef __cplusplus
    }
    #endif
    
    #endif