1 /* Automatically generated header! Do not edit! */ 2 3 #ifndef _PPCINLINE_RANDOM_H 4 #define _PPCINLINE_RANDOM_H 5 6 #ifndef __PPCINLINE_MACROS_H 7 #include <ppcinline/macros.h> 8 #endif /* !__PPCINLINE_MACROS_H */ 9 10 #ifndef RANDOM_BASE_NAME 11 #define RANDOM_BASE_NAME RandomBase 12 #endif /* !RANDOM_BASE_NAME */ 13 14 #define Random() \ 15 (((ULONG (*)(void *))*(void**)((long)(RANDOM_BASE_NAME) - 28))((void*)(RANDOM_BASE_NAME))) 16 17 #define RandomStir() \ 18 (((void (*)(void *))*(void**)((long)(RANDOM_BASE_NAME) - 40))((void*)(RANDOM_BASE_NAME))) 19 20 #define RandomBytes(__p0, __p1) \ 21 (((void (*)(void *, APTR , LONG ))*(void**)((long)(RANDOM_BASE_NAME) - 46))((void*)(RANDOM_BASE_NAME), __p0, __p1)) 22 23 #define RandomByte() \ 24 (((UBYTE (*)(void *))*(void**)((long)(RANDOM_BASE_NAME) - 34))((void*)(RANDOM_BASE_NAME))) 25 26 #endif /* !_PPCINLINE_RANDOM_H */