13 #if (SIZEOF_VOIDP > SIZEOF_UINT)
15 void alThunkInit(void);
16 void alThunkExit(void);
17 ALuint
alThunkAddEntry(ALvoid
* ptr
);
18 void alThunkRemoveEntry(ALuint index
);
19 ALvoid
*alThunkLookupEntry(ALuint index
);
21 #define ALTHUNK_INIT() alThunkInit()
22 #define ALTHUNK_EXIT() alThunkExit()
23 #define ALTHUNK_ADDENTRY(p) alThunkAddEntry(p)
24 #define ALTHUNK_REMOVEENTRY(i) alThunkRemoveEntry(i)
25 #define ALTHUNK_LOOKUPENTRY(i) alThunkLookupEntry(i)
29 #define ALTHUNK_INIT()
30 #define ALTHUNK_EXIT()
31 #define ALTHUNK_ADDENTRY(p) ((ALuint)p)
32 #define ALTHUNK_REMOVEENTRY(i)
33 #define ALTHUNK_LOOKUPENTRY(i) ((ALvoid*)(i))
35 #endif // (SIZEOF_VOIDP > SIZEOF_INT)