Initial creation of sourceware repository
[deliverable/binutils-gdb.git] / sim / common / hw-alloc.h
index cda038f5a7e1fe3059b4d56abe08ada42a73794d..48b03f22ddb2806250fdd22088344f5b5eaab16e 100644 (file)
@@ -34,6 +34,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 
 #define HW_ZALLOC(me,type) (type*) hw_zalloc (me, sizeof (type))
 #define HW_MALLOC(me,type) (type*) hw_malloc (me, sizeof (type))
+#define HW_NZALLOC(ME,TYPE,N) (TYPE*) hw_zalloc (me, sizeof (TYPE) * (N))
 
 extern void *hw_zalloc (struct hw *me, unsigned long size);
 extern void *hw_malloc (struct hw *me, unsigned long size);
This page took 0.023084 seconds and 4 git commands to generate.