Implemented LuaJIT FFI versions of love.math.random and RandomGenerator:random.

This commit is contained in:
Alex Szpakowski
2015-12-10 12:45:53 -04:00
parent 7ee02e8d37
commit 52b1bd78f2
6 changed files with 175 additions and 40 deletions
-1
View File
@@ -33,7 +33,6 @@ namespace math
// Helper functions.
RandomGenerator::Seed luax_checkrandomseed(lua_State *L, int idx);
int luax_getrandom(lua_State *L, int startidx, double r);
RandomGenerator *luax_checkrandomgenerator(lua_State *L, int idx);
extern "C" int luaopen_randomgenerator(lua_State *L);