2000-04-27 22:03:57 +02:00
|
|
|
/*************
|
|
|
|
|
* Header file for alloc.c
|
|
|
|
|
* 1999 E. Rouat
|
|
|
|
|
************/
|
|
|
|
|
|
2013-01-23 20:57:32 +01:00
|
|
|
#ifndef ngspice_ALLOC_H
|
|
|
|
|
#define ngspice_ALLOC_H
|
2000-04-27 22:03:57 +02:00
|
|
|
|
2001-01-23 16:01:58 +01:00
|
|
|
#ifndef HAVE_LIBGC
|
2000-04-27 22:03:57 +02:00
|
|
|
void * tmalloc(size_t num);
|
2016-06-16 20:01:49 +02:00
|
|
|
void * trealloc(const void *ptr, size_t num);
|
|
|
|
|
void txfree(const void *ptr);
|
2000-10-14 23:49:25 +02:00
|
|
|
#endif
|
2000-04-27 22:03:57 +02:00
|
|
|
|
|
|
|
|
#endif
|