1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Reduce code duplication between c_converter.cpp and helper.cpp

This commit is contained in:
sfan5 2022-07-03 16:44:08 +02:00
parent 8ff3fadba0
commit 1d512ef7f4
4 changed files with 32 additions and 84 deletions

View file

@ -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
*