RB_Mem_Check

[ Top ] [ Utilities ] [ Functions ]

FUNCTION

Check for memory allocation failures.

SOURCE

#define RB_Mem_Check(ptr) if (!ptr) RB_Panic("%s:%s:%d: Out of memory!\n", __FILE__, __FUNCTION__, __LINE__)