27 #include "../shared/cxx.h"
30 return (lua_isnil(L, index) || lua_istable(L, index));
37 if (lua_isnil(L, index))
43 while (lua_next(L, index) != 0) {
45 const char*
v = lua_tostring(L, -1);
void LIST_AddString(linkedList_t **listDest, const char *data)
Adds an string to a new or to an already existing linked list. The string is copied here...
linkedList_t * Com_LuaTableToStringList(lua_State *L, int index)
Convert a lua table to a linkedList of character strings.
Header for lua script functions.
QGL_EXTERN int GLboolean GLfloat * v
int Com_LuaIsNilOrTable(lua_State *L, int index)