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:
parent
8ff3fadba0
commit
1d512ef7f4
4 changed files with 32 additions and 84 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue