Home Download Musics Developers
API Sources Tools File Format Technicals

alloc68.h

Go to the documentation of this file.
00001 
00012 /* Copyright (C) 1998-2003 Benjamin Gerard */
00013 
00014 
00015 #ifndef _ALLOC68_H_
00016 #define _ALLOC68_H_
00017 
00018 #ifdef __cplusplus
00019 extern "C" {
00020 #endif
00021 
00031 typedef void * (*sc68_alloc_t)(unsigned int);
00032 
00034 typedef void (*sc68_free_t)(void *);
00035 
00050 void * SC68alloc(unsigned int n);
00051 
00066 void * SC68calloc(unsigned int n);
00067 
00068 
00082 void SC68free(void * data);
00083 
00092 sc68_alloc_t SC68set_alloc(sc68_alloc_t alloc);
00093 
00101 sc68_free_t SC68set_free(sc68_free_t free);
00102 
00107 #ifdef __cplusplus
00108 }
00109 #endif
00110 
00111 #endif /* #define _ALLOC68_H_ */