(index ("lua-open" 0) ("lua-close" 140) ("lua-run-string" 339) ("lua-run-file" 620) ("lua-eval" 797) ("lua-call" 944) ("lua-function?" 1154) ("lua-state?" 1307) ("lua-thread?" 1500) ("lua-table?" 1647) ("lua-userdata?" 1791) ("lua-global-ref" 1951) ("lua-table-ref" 2195))
(def (sig (procedure " (lua-open) " (id lua-open))) (p "Creates and returns a fresh Lua execution context containing all base libraries."))
(def (sig (procedure "(lua-close STATE)" (id lua-close))) (p "Closes a Lua execution context and performs all necessary cleanup. The effect of using Lua data from the closed context is undefined."))
(def (sig (procedure "(lua-run-string STATE STRING [NAME])" (id lua-run-string))) (p "Executes the Lua statements in " (tt "STRING") " and returns its result(s). The optional argument " (tt "NAME") " can be given to identify the source of the Lua code (used in error messages)."))
(def (sig (procedure "(lua-run-file STATE PATHNAME)" (id lua-run-file))) (p "Executes the statements in the file designated by " (tt "PATHNAME") " and returns any result(s)."))
(def (sig (procedure "(lua-eval STATE STRING)" (id lua-eval))) (p "Evaluates the Lua expression in " (tt "STRING") " and returns any result(s)."))
(def (sig (procedure "(lua-call LUAFUNCTION ARG ...)" (id lua-call))) (p "Calls the Lua function " (tt "LUAFUNCTION") " which must have been obtained through evaluation of Lua code with the given arguments."))
(def (sig (procedure "(lua-function? X)" (id lua-function?))) (p "Returns " (tt "#t") " if " (tt "X") " is a Lua function or " (tt "#f") " otherwise."))
(def (sig (procedure "(lua-state? X)" (id lua-state?))) (p "Returns " (tt "#t") " if " (tt "X") " is a Lua execution context (as returned by " (tt "lua-open") ") or " (tt "#f") " otherwise."))
(def (sig (procedure "(lua-thread? X)" (id lua-thread?))) (p "Returns " (tt "#t") " if " (tt "X") " is a Lua thread or " (tt "#f") " otherwise."))
(def (sig (procedure "(lua-table? X)" (id lua-table?))) (p "Returns " (tt "#t") " if " (tt "X") " is a Lua table or " (tt "#f") " otherwise."))
(def (sig (procedure "(lua-userdata? X)" (id lua-userdata?))) (p "Returns " (tt "#t") " if " (tt "X") " is a Lua userdata object or " (tt "#f") " otherwise."))
(def (sig (procedure "(lua-global-ref STATE STRING)" (id lua-global-ref))) (pre "[setter procedure] (set! (lua-global-ref STATE STRING) X)") (p "Gets or sets the global variable named by " (tt "STRING") " in the given Lua execution context."))
(def (sig (procedure "(lua-table-ref TABLE KEY)" (id lua-table-ref))) (pre "[setter procedure] (set! (lua-table-ref TABLE KEY) X)") (p "Gets or sets the table element in " (tt "TABLE") " indexed by the Lua value " (tt "KEY") "."))
