mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 01:25:20 +02:00
Reduce code duplication between c_converter.cpp and helper.cpp
This commit is contained in:
@@ -21,14 +21,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
|
||||
extern "C" {
|
||||
#include <lua.h>
|
||||
#include <lauxlib.h>
|
||||
}
|
||||
|
||||
class LuaHelper
|
||||
{
|
||||
protected:
|
||||
static bool isNaN(lua_State *L, int idx);
|
||||
|
||||
/**
|
||||
* Read a value using a template type T from Lua State L and index
|
||||
*
|
||||
|
Reference in New Issue
Block a user