diff options
Diffstat (limited to 'sim/common/sim-utils.h')
-rw-r--r-- | sim/common/sim-utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/common/sim-utils.h b/sim/common/sim-utils.h index cd7cc59c..0bacee4 100644 --- a/sim/common/sim-utils.h +++ b/sim/common/sim-utils.h @@ -26,6 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc., void *zalloc (unsigned long size); #define ZALLOC(TYPE) (TYPE*)zalloc(sizeof (TYPE)) +#define NZALLOC(TYPE,N) (TYPE*)zalloc(sizeof (TYPE) * (N)) void zfree(void*); |