Index of values


C
call [Ocamlua]
call state f args calls the function accessible via the global name f in the state state with the (possibly zero) arguments args.

E
eval_string [Ocamlua]
eval_string state code immediately loads and executes the Lua code in the string code in the context of state.

I
init_state [Ocamlua]
Creates a new Ocamlua.lua_state.

L
list_of_table [Ocamlua]
Converts a table of size n with keys 1, 2, ...
load_file [Ocamlua]
load_file state fname loads the Lua source code contained in the file fname and immediately evaluates it.

T
table_of_list [Ocamlua]
Coverts a list Lua values into a Lua vector (with indices starting from 1).