Correct memory allocation macro.

This commit is contained in:
Jason Edmeades 2005-03-16 19:50:49 +00:00 committed by Alexandre Julliard
parent fbee1de696
commit c7e815c53b
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
#include "editstr.h"
#define ALLOC_OBJ(type) (type *)HeapAlloc(me_heap, 0, sizeof(type))
#define ALLOC_N_OBJ(type, count) (type *)HeapAlloc(me_heap, 0, count*sizeof(type))
#define ALLOC_N_OBJ(type, count) (type *)HeapAlloc(me_heap, 0, (count)*sizeof(type))
#define FREE_OBJ(ptr) HeapFree(me_heap, 0, ptr)
/* style.c */