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_clean.h

    r1505 r1634  
    5151  { // tolua_export
    5252    public:
    53       inline static Script* getInstance() { if (!Script::singletonRef) Script::singletonRef = new Script(); return Script::singletonRef; } // tolua_export
    54       inline ~Script() { Script::singletonRef = NULL; };
     53      static Script* getInstance() { if (!Script::singletonRef) Script::singletonRef = new Script(); return Script::singletonRef; } // tolua_export
     54      ~Script() { Script::singletonRef = NULL; };
    5555
    5656    void loadFile(std::string filename, bool luaTags);
     
    6161
    6262#if LUA_VERSION_NUM != 501
    63     inline static const char * lua_Chunkreader(lua_State *L, void *data, size_t *size) { return NULL;};
     63    static const char * lua_Chunkreader(lua_State *L, void *data, size_t *size) { return NULL;};
    6464#endif
    6565
    66     inline lua_State* getLuaState() { return luaState_; };
    67     inline std::string getLuaOutput() { return output_; };
    68     //inline std::string* getFileString() { return &fileString_; };
     66    lua_State* getLuaState() { return luaState_; };
     67    std::string getLuaOutput() { return output_; };
     68    //std::string* getFileString() { return &fileString_; };
    6969
    7070    unsigned int getNextQuote(const std::string& text, unsigned int start);
Note: See TracChangeset for help on using the changeset viewer.