Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 29, 2008, 7:36:33 PM (16 years ago)
Author:
nicolasc
Message:

just a test - don't morge this

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gcc43/src/core/Script.h

    r1505 r1634  
    5656
    5757    public:
    58       inline static Script* getInstance() { if (!Script::singletonRef) Script::singletonRef = new Script(); return Script::singletonRef; } // tolua_export
    59       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; };
    6060
    6161    void loadFile(std::string filename, bool luaTags);
     
    6969#endif
    7070
    71     inline lua_State* getLuaState() { return luaState_; };
    72     inline std::string getLuaOutput() { return output_; };
    73     //inline std::string* getFileString() { return &fileString_; };
     71    lua_State* getLuaState() { return luaState_; };
     72    std::string getLuaOutput() { return output_; };
     73    //std::string* getFileString() { return &fileString_; };
    7474
    7575    unsigned int getNextQuote(const std::string& text, unsigned int start);
Note: See TracChangeset for help on using the changeset viewer.