Heap-allocated NUL-terminated string.
Definition hxstr.h:41
Host of the embedded Python interpreter, and the one object the game runs script through.
Definition pyshell.h:22
Reference-counted handle on any Python object, and the root of the PyCXX object hierarchy.
Definition object.h:42
Handle on a Python tuple.
Definition tuple.h:31
C++ wrappers for the embedded Python interpreter's objects, types, and extension modules.
Definition attributeerror.h:7
Py::Object EvalScriptExpression(const HxStr &expression)
Run one piece of script text as an expression and take its value.
Py::Object CallScriptFunction(const HxStr &name, Py::Tuple args)
Call a function the scripts define at module level, by name.
PyShell * g_pPyShell
Single interpreter host, null until GetPythonScriptHost() creates it.
Py::Object EvalScriptTemplate(int nTemplate,...)
Call one registered script template as an expression and take its value.