30 static bool isNaN(lua_State *L,
int idx);
54 static inline T
readParam(lua_State *L,
int index,
const T &default_value)
56 return lua_isnoneornil(L, index) ? default_value : readParam<T>(L, index);
static bool isNaN(lua_State *L, int idx)
Definition: helper.cpp:45
static T readParam(lua_State *L, int index)
Read a value using a template type T from Lua State L and index.
static T readParam(lua_State *L, int index, const T &default_value)
Read a value using a template type T from Lua State L and index.
Definition: helper.h:54
#define idx(x, y)
Definition: noise.cpp:617