1 2 3 4 5 6 7 8 9 10 11 12 13 14
extern "C" void *malloc (int); extern "C" void _M2_except5_init (void); extern "C" int printf (const char *, ...); extern "C" void Storage_ALLOCATE (void **p, unsigned int s); void Storage_ALLOCATE (void **p, unsigned int s) { (*p) = malloc (s); } main() { _M2_except5_init (); }