UFO: Alien Invasion
Loading...
Searching...
No Matches
scripts_lua.cpp File Reference

Module for lua script functions. More...

#include "scripts_lua.h"
#include "../shared/cxx.h"
Include dependency graph for scripts_lua.cpp:

Go to the source code of this file.

Functions

int Com_LuaIsNilOrTable (lua_State *L, int index)
linkedList_tCom_LuaTableToStringList (lua_State *L, int index)
 Convert a lua table to a linkedList of character strings.

Detailed Description

Module for lua script functions.

Definition in file scripts_lua.cpp.

Function Documentation

◆ Com_LuaIsNilOrTable()

int Com_LuaIsNilOrTable ( lua_State * L,
int index )

Definition at line 29 of file scripts_lua.cpp.

References index.

Referenced by _wrap_push_window().

◆ Com_LuaTableToStringList()

linkedList_t * Com_LuaTableToStringList ( lua_State * L,
int index )

Convert a lua table to a linkedList of character strings.

Definition at line 36 of file scripts_lua.cpp.

References index, LIST_AddString(), and v.

Referenced by _wrap_push_window().