76 virtual
PString GetLanguageName() const;
79 virtual
bool IsInitialised() const;
83 virtual
bool LoadFile(
89 virtual
bool LoadText(
100 const
char * script = NULL
120 bool metaTable = false
129 virtual
bool CreateComposite(
214 virtual
bool ReleaseVariable(
246 const
char * sigString = NULL,
251 Signature & signature
255 #define PDECLARE_LuaFunctionNotifier(cls, fn) PDECLARE_NOTIFIER2(PLua, cls, fn, PScriptLanguage::Signature &)
262 const FunctionNotifier & func
272 bool InternalGetVariable(
const PString & name);
273 bool InternalSetVariable(
const PString & name);
274 static int InternalCallback(lua_State * state);
275 int InternalCallback();
283 #endif // PTLIB_LUA_H
#define PCLASSINFO(cls, par)
Declare all the standard PTLib class information.
Definition: object.h:2164
This class describes a full description for a file on the particular platform.
Definition: filepath.h:61
This is an array collection class of PString objects.
Definition: pstring.h:2365
virtual bool SetFunction(const PString &name, const FunctionNotifier &func)=0
Set a notifier as a script callable function.
The character string class.
Definition: pstring.h:108
static const PString & Empty()
Return an empty string.
A wrapper around a scripting language instance.
Definition: script.h:43