libannodex 0.7.3
anx_core.h File Reference

Core datatypes etc. More...

#include <stdlib.h>

Go to the source code of this file.

Macros

#define anx_malloc(n)
 malloc() wrapper to allow easy overriding
 
#define anx_free(x)
 free() wrapper to allow easy overriding
 

Typedefs

typedef void *(* AnxCloneFunc) (void *data)
 Signature of a cloning function.
 
typedef void *(* AnxFreeFunc) (void *data)
 Signature of a freeing function.
 

Detailed Description

Core datatypes etc.

Macro Definition Documentation

◆ anx_free

#define anx_free ( x)
Value:
free((void *)(x))

free() wrapper to allow easy overriding

◆ anx_malloc

#define anx_malloc ( n)
Value:
calloc(1,(n))

malloc() wrapper to allow easy overriding