add SetGlobal( CString)

This commit is contained in:
Chris Danford
2005-05-29 01:06:38 +00:00
parent ceef12b5cd
commit 0f601b5ef8
+3 -2
View File
@@ -79,8 +79,9 @@ public:
void Fail( const CString &err );
void SetGlobal( const CString &sName, int val ) { LuaHelpers::PushStack(val); SetGlobal( sName ); }
void SetGlobal( const CString &sName, bool val ) { LuaHelpers::PushStack(val); SetGlobal( sName ); }
void SetGlobal( const CString &sName, int val ) { LuaHelpers::PushStack(val); SetGlobal( sName ); }
void SetGlobal( const CString &sName, bool val ) { LuaHelpers::PushStack(val); SetGlobal( sName ); }
void SetGlobal( const CString &sName, const CString &val ) { LuaHelpers::PushStack(val); SetGlobal( sName ); }
void UnsetGlobal( const CString &sName ) { PushStackNil(); SetGlobal( sName ); }
void PushStackNil();