Changeset 1211 for code/branches/camera/src/core/Script.h
- Timestamp:
- May 1, 2008, 6:09:05 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/camera/src/core/Script.h
r1201 r1211 57 57 public: 58 58 inline static Script* getInstance() { if (!Script::singletonRef) Script::singletonRef = new Script(); return Script::singletonRef; } // tolua_export 59 inline ~Script() { Script::singletonRef = NULL; } 59 inline ~Script() { Script::singletonRef = NULL; }; 60 60 61 61 void loadFile(std::string filename, bool luaTags);
Note: See TracChangeset
for help on using the changeset viewer.