Back to index

tetex-bin  3.0
Defines | Functions | Variables
nc_alloc.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define HAVE_LIBDMALLOC   0
#define HAVE_LIBDBMALLOC   0
#define NO_LEAKS   0
#define HAVE_NC_FREEALL   0
#define ExitProgram(code)   exit(code)
#define strdup   _nc_strdup
#define typeMalloc(type, elts)   (type *)malloc((elts)*sizeof(type))
#define typeCalloc(type, elts)   (type *)calloc((elts),sizeof(type))
#define typeRealloc(type, elts, ptr)   (type *)_nc_doalloc(ptr, (elts)*sizeof(type))

Functions

 NCURSES_EXPORT (void *) _nc_doalloc(void *
 NCURSES_EXPORT (char *) _nc_strdup(const char *)

Variables

 size_t

Define Documentation

#define ExitProgram (   code)    exit(code)

Definition at line 73 of file nc_alloc.h.

#define HAVE_LIBDBMALLOC   0

Definition at line 52 of file nc_alloc.h.

#define HAVE_LIBDMALLOC   0

Definition at line 45 of file nc_alloc.h.

#define HAVE_NC_FREEALL   0

Definition at line 69 of file nc_alloc.h.

#define NO_LEAKS   0

Definition at line 56 of file nc_alloc.h.

#define strdup   _nc_strdup

Definition at line 79 of file nc_alloc.h.

#define typeCalloc (   type,
  elts 
)    (type *)calloc((elts),sizeof(type))

Definition at line 84 of file nc_alloc.h.

#define typeMalloc (   type,
  elts 
)    (type *)malloc((elts)*sizeof(type))

Definition at line 83 of file nc_alloc.h.

#define typeRealloc (   type,
  elts,
  ptr 
)    (type *)_nc_doalloc(ptr, (elts)*sizeof(type))

Definition at line 85 of file nc_alloc.h.


Function Documentation

NCURSES_EXPORT ( char *  ) const

Variable Documentation

unsigned int size_t

Definition at line 77 of file nc_alloc.h.