22 #ifndef WATCHMAKER_LL_SYSTEM_H 23 #define WATCHMAKER_LL_SYSTEM_H 25 #include "watchmaker/types.h" 26 #include "common/stream.h" 27 #include "common/ptr.h" 32 void *t3dMalloc(uint32 n);
33 void *t3dCalloc(uint32 n);
36 T *t3dMalloc(uint32 num) {
37 return static_cast<T *
>(t3dMalloc(
sizeof(T) * num));
41 T *t3dCalloc(uint32 num) {
47 return (T *)t3dCalloc(
sizeof(T) * num);
49 void *t3dRealloc(
void *p, uint32 additionalBytes);
50 void t3dFree(
void *p);
57 bool t3dFastFileInit(
const char *name);
58 void t3dForceNOFastFile(
char valore);
59 int t3dAccessFile(
char *name);
60 bool t3dGetFileDate(uint32 *date, uint32 *time,
const char *name);
67 #endif // WATCHMAKER_LL_SYSTEM_H Definition: 2d_stuff.h:30