| 16 | |
| 17 | #define REGISTER_FUNC(funcPtr, name, index) if(!nullcBindModuleFunction("std.random", (void(*)())NULLCRandom::funcPtr, name, index)) return false; |
| 18 | bool nullcInitRandomModule() |
| 19 | { |
| 20 | REGISTER_FUNC(srand, "srand", 0); |
| 21 | REGISTER_FUNC(rand, "rand", 0); |
| 22 | |
| 23 | return true; |
| 24 | } |
no outgoing calls