Fix dfusion build on linux.

develop
Alexander Gavrilov 2012-11-11 17:24:25 +04:00
parent 012d22fa4f
commit 683da39636
2 changed files with 2 additions and 2 deletions

@ -41,7 +41,7 @@ static int loadObjectFile(lua_State* L)
//Lua::Push(L,buf); //Lua::Push(L,buf);
lua_pushlightuserdata(L,buf); lua_pushlightuserdata(L,buf);
lua_setfield(L,table_pos,"data"); lua_setfield(L,table_pos,"data");
OutFile::vSymbol& symbols=f.GetSymbols(); const OutFile::vSymbol &symbols=f.GetSymbols();
lua_newtable(L); lua_newtable(L);
for(size_t i=0;i<symbols.size();i++) for(size_t i=0;i<symbols.size();i++)
{ {

@ -105,7 +105,7 @@ public:
void GetText(char *ptr); void GetText(char *ptr);
size_t GetTextSize(); size_t GetTextSize();
void LoadSymbols(); void LoadSymbols();
vSymbol GetSymbols(){LoadSymbols();return symbols;}; const vSymbol &GetSymbols(){LoadSymbols();return symbols;};
void PrintSymbols(); void PrintSymbols();
void PrintRelocations(); void PrintRelocations();
protected: protected: