Changeset 1634 for code/branches/gcc43/src/core/Script.h
- Timestamp:
- Jun 29, 2008, 7:36:33 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gcc43/src/core/Script.h
r1505 r1634 56 56 57 57 public: 58 inlinestatic Script* getInstance() { if (!Script::singletonRef) Script::singletonRef = new Script(); return Script::singletonRef; } // tolua_export59 inline~Script() { Script::singletonRef = NULL; };58 static Script* getInstance() { if (!Script::singletonRef) Script::singletonRef = new Script(); return Script::singletonRef; } // tolua_export 59 ~Script() { Script::singletonRef = NULL; }; 60 60 61 61 void loadFile(std::string filename, bool luaTags); … … 69 69 #endif 70 70 71 inlinelua_State* getLuaState() { return luaState_; };72 inlinestd::string getLuaOutput() { return output_; };73 // inlinestd::string* getFileString() { return &fileString_; };71 lua_State* getLuaState() { return luaState_; }; 72 std::string getLuaOutput() { return output_; }; 73 //std::string* getFileString() { return &fileString_; }; 74 74 75 75 unsigned int getNextQuote(const std::string& text, unsigned int start);
Note: See TracChangeset
for help on using the changeset viewer.