00001 00015 /* Copyright (C) 1998-2003 Benjamin Gerard */ 00016 00017 00018 #ifndef _ALLOC68_H_ 00019 #define _ALLOC68_H_ 00020 00021 #ifdef __cplusplus 00022 extern "C" { 00023 #endif 00024 00026 typedef void * (*sc68_alloc_t)(unsigned int); 00027 00029 typedef void (*sc68_free_t)(void *); 00030 00044 void * SC68alloc(unsigned int n); 00045 00059 void SC68free(void * data); 00060 00069 sc68_alloc_t SC68set_alloc(sc68_alloc_t alloc); 00070 00078 sc68_free_t SC68set_free(sc68_free_t free); 00079 00080 #ifdef __cplusplus 00081 } 00082 #endif 00083 00084 #endif /* #define _ALLOC68_H_ */