1 /* Automatically generated header! Do not edit! */ 2 3 #ifndef _PPCINLINE_BTREE_H 4 #define _PPCINLINE_BTREE_H 5 6 #ifndef __PPCINLINE_MACROS_H 7 #include <ppcinline/macros.h> 8 #endif /* !__PPCINLINE_MACROS_H */ 9 10 #ifndef BTREE_BASE_NAME 11 #define BTREE_BASE_NAME BTreeBase 12 #endif /* !BTREE_BASE_NAME */ 13 14 #define DeleteTreeNode(__p0, __p1) \ 15 (((void (*)(void *, APTR , APTR ))*(void**)((long)(BTREE_BASE_NAME) - 46))((void*)(BTREE_BASE_NAME), __p0, __p1)) 16 17 #define FindTreeNodeByData(__p0, __p1) \ 18 (((APTR (*)(void *, const APTR , const APTR ))*(void**)((long)(BTREE_BASE_NAME) - 94))((void*)(BTREE_BASE_NAME), __p0, __p1)) 19 20 #define PredTreeNode(__p0, __p1) \ 21 (((APTR (*)(void *, const APTR , const APTR ))*(void**)((long)(BTREE_BASE_NAME) - 70))((void*)(BTREE_BASE_NAME), __p0, __p1)) 22 23 #define GetTreeNodeKey(__p0, __p1) \ 24 (((APTR (*)(void *, const APTR , const APTR ))*(void**)((long)(BTREE_BASE_NAME) - 52))((void*)(BTREE_BASE_NAME), __p0, __p1)) 25 26 #define InsertTreeNode(__p0, __p1, __p2) \ 27 (((APTR (*)(void *, APTR , const APTR , const APTR ))*(void**)((long)(BTREE_BASE_NAME) - 40))((void*)(BTREE_BASE_NAME), __p0, __p1, __p2)) 28 29 #define EnumTreeNodes(__p0, __p1, __p2, __p3, __p4) \ 30 (((ULONG (*)(void *, const APTR , const APTR , const APTR , LONG (*)(APTR userData, const APTR Node), const APTR ))*(void**)((long)(BTREE_BASE_NAME) - 106))((void*)(BTREE_BASE_NAME), __p0, __p1, __p2, __p3, __p4)) 31 32 #define GetTreeSize(__p0) \ 33 (((ULONG (*)(void *, const APTR ))*(void**)((long)(BTREE_BASE_NAME) - 112))((void*)(BTREE_BASE_NAME), __p0)) 34 35 #define MinTreeNode(__p0) \ 36 (((APTR (*)(void *, const APTR ))*(void**)((long)(BTREE_BASE_NAME) - 76))((void*)(BTREE_BASE_NAME), __p0)) 37 38 #define SetTreeNodeData(__p0, __p1, __p2) \ 39 (((APTR (*)(void *, const APTR , APTR , const APTR ))*(void**)((long)(BTREE_BASE_NAME) - 130))((void*)(BTREE_BASE_NAME), __p0, __p1, __p2)) 40 41 #define SuccTreeNode(__p0, __p1) \ 42 (((APTR (*)(void *, const APTR , const APTR ))*(void**)((long)(BTREE_BASE_NAME) - 64))((void*)(BTREE_BASE_NAME), __p0, __p1)) 43 44 #define FlushTree(__p0) \ 45 (((void (*)(void *, APTR ))*(void**)((long)(BTREE_BASE_NAME) - 124))((void*)(BTREE_BASE_NAME), __p0)) 46 47 #define CreateTree(__p0, __p1) \ 48 (((APTR (*)(void *, ULONG , const struct BTArgArray *))*(void**)((long)(BTREE_BASE_NAME) - 28))((void*)(BTREE_BASE_NAME), __p0, __p1)) 49 50 #define GetTreeHeight(__p0) \ 51 (((ULONG (*)(void *, const APTR ))*(void**)((long)(BTREE_BASE_NAME) - 118))((void*)(BTREE_BASE_NAME), __p0)) 52 53 #define ForTreeNodes(__p0, __p1, __p2) \ 54 (((ULONG (*)(void *, const APTR , void (*)(APTR userData, const APTR Node), const APTR ))*(void**)((long)(BTREE_BASE_NAME) - 100))((void*)(BTREE_BASE_NAME), __p0, __p1, __p2)) 55 56 #define MaxTreeNode(__p0) \ 57 (((APTR (*)(void *, const APTR ))*(void**)((long)(BTREE_BASE_NAME) - 82))((void*)(BTREE_BASE_NAME), __p0)) 58 59 #define FindTreeNodeByKey(__p0, __p1) \ 60 (((APTR (*)(void *, const APTR , const APTR ))*(void**)((long)(BTREE_BASE_NAME) - 88))((void*)(BTREE_BASE_NAME), __p0, __p1)) 61 62 #define GetTreeNodeData(__p0, __p1) \ 63 (((APTR (*)(void *, const APTR , const APTR ))*(void**)((long)(BTREE_BASE_NAME) - 58))((void*)(BTREE_BASE_NAME), __p0, __p1)) 64 65 #define DeleteTree(__p0) \ 66 (((void (*)(void *, APTR ))*(void**)((long)(BTREE_BASE_NAME) - 34))((void*)(BTREE_BASE_NAME), __p0)) 67 68 #endif /* !_PPCINLINE_BTREE_H */