Files
ngspice/src/misc/alloc.h
T
rlar 994bec7859 declare free() / realloc() arguments `const void *'
to avoid extra casting when freeing `const' strings
2016-07-17 11:19:34 +02:00

16 lines
262 B
C

/*************
* Header file for alloc.c
* 1999 E. Rouat
************/
#ifndef ngspice_ALLOC_H
#define ngspice_ALLOC_H
#ifndef HAVE_LIBGC
void * tmalloc(size_t num);
void * trealloc(const void *ptr, size_t num);
void txfree(const void *ptr);
#endif
#endif