/* Gemeral purpose memory allocation macros * * objm2_alloc.h * * Created by Sunrise Telephone Systems KK * * This file ("objm2_alloc.h") is hereby released into the public domain. * */ #ifndef OBJM2_ALLOC_H #define OBJM2_ALLOC_H #include // type of management scheme of library used #define OBJM2_AUTOMATIC_GARBAGE_COLLECTION 0 /* 0 = OFF, 1 = ON */ // allocation funtion #define OBJM2_ALLOCATE(_size) malloc(_size) // deallocation function #define OBJM2_DEALLOCATE(_pointer) free(_pointer) #endif /* OBJM2_ALLOC_H */ // END OF FILE