#ifndef _NALLOC_H__
#define _NALLOC_H__  1

# ifndef _NDEFINES_H__
#  error "include <naudio\ndefines.h> first"
# endif

# ifdef NDB_ALLOC
void  *ndballoc   _C_PROTO(( lword size, char *file, int line));
void  *ndbmalloc  _C_PROTO(( lword size, char *file, int line));
void  ndbfree     _C_PROTO(( void *p, char *file, int line));
#define nalloc( x)   ndballoc( x, __FILE__, __LINE__)
#define nmalloc( x)  ndbmalloc( x, __FILE__, __LINE__)
#define nfree( x)    ndbfree( x, __FILE__, __LINE__)
# else
void  *nalloc  _C_PROTO(( lword size));
void  *nmalloc _C_PROTO(( lword size));
void  nfree    _C_PROTO(( void *p));
# endif
#endif

