![]() |
BlitzMax Extended
0.8.11
Pushing Blitz to the Max.
|
00001 00012 #ifndef BLITZ_MEMORY_H 00013 #define BLITZ_MEMORY_H 00014 00015 #include "_common.h" 00016 00017 BB_BEGIN_DECLS 00018 00019 #define BB_MEM_ALIGNSIZE 16 00020 #define BB_MEM_ALIGNMASK (BB_MEM_ALIGNSIZE - 1) 00021 00033 void* bbMemAlloc(BBInt size) __attribute__ ((malloc)); 00034 00042 void bbMemFree(void *mem); 00043 00066 void* bbMemExtend(void *mem, BBInt size, BBInt new_size); 00067 00078 void bbMemClear(void *dst, BBInt size); 00079 00089 void bbMemCopy(void *dst, const void *src, BBInt size); 00090 00099 void bbMemMove(void *dst, const void *src, BBInt size); 00100 00101 BB_END_DECLS 00102 00103 #endif // BLITZ_MEMORY_H