mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-28 16:54:20 +02:00
cleanup TMALLOC etc macros
This commit is contained in:
@@ -46,7 +46,7 @@ NON-STANDARD FEATURES
|
||||
|
||||
void *tmalloc(size_t);
|
||||
|
||||
#define TMALLOC(t,n) (t*) /**/ tmalloc(sizeof(t) * (size_t)(n))
|
||||
#define TMALLOC(t,n) (t*) tmalloc(sizeof(t) * (size_t)(n))
|
||||
|
||||
|
||||
/* ************************************************************************ */
|
||||
|
||||
@@ -46,7 +46,7 @@ NON-STANDARD FEATURES
|
||||
|
||||
void *tmalloc(size_t);
|
||||
|
||||
#define TMALLOC(t,n) (t*) /**/ tmalloc(sizeof(t) * (size_t)(n))
|
||||
#define TMALLOC(t,n) (t*) tmalloc(sizeof(t) * (size_t)(n))
|
||||
|
||||
|
||||
/* ************************************************************************ */
|
||||
|
||||
Reference in New Issue
Block a user