Home | History | Annotate | Download | only in hb-old

Lines Matching refs:_ptr

89 #define  ALLOC(_ptr,_size)   \
90 ( (_ptr) = _hb_alloc( _size, &error ), error != 0 )
92 #define REALLOC(_ptr,_newsz) \
93 ( (_ptr) = _hb_realloc( (_ptr), (_newsz), &error ), error != 0 )
95 #define FREE(_ptr) \
97 if ( (_ptr) ) \
99 _hb_free( _ptr ); \
100 _ptr = NULL; \
104 #define ALLOC_ARRAY(_ptr,_count,_type) \
105 ALLOC(_ptr,(_count)*sizeof(_type))
107 #define REALLOC_ARRAY(_ptr,_newcnt,_type) \
108 REALLOC(_ptr,(_newcnt)*sizeof(_type))