MCPcopy Create free account
hub / github.com/DFHack/dfhack / lua_version

Function lua_version

depends/lua/src/lapi.c:144–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142
143
144LUA_API const lua_Number *lua_version (lua_State *L) {
145 static const lua_Number version = LUA_VERSION_NUM;
146 if (L == NULL) return &version;
147 else return G(L)->version;
148}
149
150
151

Callers 2

f_luaopenFunction · 0.85
luaL_checkversion_Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected