1 /* Automatically generated header! Do not edit! */ 2 3 #ifndef _PPCINLINE_HASHTABLE_H 4 #define _PPCINLINE_HASHTABLE_H 5 6 #ifndef __PPCINLINE_MACROS_H 7 #include <ppcinline/macros.h> 8 #endif /* !__PPCINLINE_MACROS_H */ 9 10 #ifndef HASHTABLE_BASE_NAME 11 #define HASHTABLE_BASE_NAME HashTableBase 12 #endif /* !HASHTABLE_BASE_NAME */ 13 14 #define CreateHashTableTagList(__p0) \ 15 (((APTR (*)(CONST struct TagItem *))*(void**)((long)(HASHTABLE_BASE_NAME) - 28))(__p0)) 16 17 #define RemoveHashByData(__p0, __p1, __p2) \ 18 (((BOOL (*)(CONST_APTR , CONST_APTR , size_t *, void *))*(void**)((long)(HASHTABLE_BASE_NAME) - 64))(__p0, __p1, __p2, (void*)(HASHTABLE_BASE_NAME))) 19 20 #define GetHashTableAttribute(__p0, __p1) \ 21 (((size_t (*)(CONST_APTR , size_t , void *))*(void**)((long)(HASHTABLE_BASE_NAME) - 46))(__p0, __p1, (void*)(HASHTABLE_BASE_NAME))) 22 23 #define InsertHash(__p0, __p1, __p2) \ 24 (((BOOL (*)(CONST_APTR , size_t , CONST_APTR , void *))*(void**)((long)(HASHTABLE_BASE_NAME) - 76))(__p0, __p1, __p2, (void*)(HASHTABLE_BASE_NAME))) 25 26 #define DeleteHashTable(__p0) \ 27 (((VOID (*)(CONST_APTR , void *))*(void**)((long)(HASHTABLE_BASE_NAME) - 34))(__p0, (void*)(HASHTABLE_BASE_NAME))) 28 29 #define ResizeHashTable(__p0) \ 30 (((size_t (*)(CONST_APTR , void *))*(void**)((long)(HASHTABLE_BASE_NAME) - 88))(__p0, (void*)(HASHTABLE_BASE_NAME))) 31 32 #define GetHashKeyByData(__p0, __p1, __p2) \ 33 (((BOOL (*)(CONST_APTR , CONST_APTR , size_t *, void *))*(void**)((long)(HASHTABLE_BASE_NAME) - 52))(__p0, __p1, __p2, (void*)(HASHTABLE_BASE_NAME))) 34 35 #define IterateHashTable(__p0, __p1, __p2) \ 36 (((size_t (*)(CONST_APTR , BOOL (*)(CONST_APTR, size_t, APTR, APTR), APTR , void *))*(void**)((long)(HASHTABLE_BASE_NAME) - 82))(__p0, __p1, __p2, (void*)(HASHTABLE_BASE_NAME))) 37 38 #define GetHashDataByKey(__p0, __p1, __p2) \ 39 (((BOOL (*)(CONST_APTR , size_t , APTR *, void *))*(void**)((long)(HASHTABLE_BASE_NAME) - 58))(__p0, __p1, __p2, (void*)(HASHTABLE_BASE_NAME))) 40 41 #define RemoveHashByKey(__p0, __p1, __p2) \ 42 (((BOOL (*)(CONST_APTR , size_t , APTR *, void *))*(void**)((long)(HASHTABLE_BASE_NAME) - 70))(__p0, __p1, __p2, (void*)(HASHTABLE_BASE_NAME))) 43 44 #define ClearHashTable(__p0) \ 45 (((VOID (*)(CONST_APTR , void *))*(void**)((long)(HASHTABLE_BASE_NAME) - 40))(__p0, (void*)(HASHTABLE_BASE_NAME))) 46 47 #if defined(USE_INLINE_STDARG) && !defined(__STRICT_ANSI__) 48 49 #include <stdarg.h> 50 51 #define CreateHashTableTags(...) \ 52 ({ULONG _tags[] = { __VA_ARGS__ }; \ 53 CreateHashTableTagList((CONST struct TagItem *)_tags);}) 54 55 #endif 56 57 #endif /* !_PPCINLINE_HASHTABLE_H */