Missed files in r1241.

This commit is contained in:
Birunthan Mohanathas 2012-03-09 13:24:07 +00:00
parent e196ac08db
commit e2a736ed83
3 changed files with 1 additions and 10 deletions

View File

@ -787,13 +787,11 @@
<ClCompile Include="lua\lua\lauxlib.c" /> <ClCompile Include="lua\lua\lauxlib.c" />
<ClCompile Include="lua\lua\lbaselib.c" /> <ClCompile Include="lua\lua\lbaselib.c" />
<ClCompile Include="lua\lua\lcode.c" /> <ClCompile Include="lua\lua\lcode.c" />
<ClCompile Include="lua\lua\ldblib.c" />
<ClCompile Include="lua\lua\ldebug.c" /> <ClCompile Include="lua\lua\ldebug.c" />
<ClCompile Include="lua\lua\ldo.c" /> <ClCompile Include="lua\lua\ldo.c" />
<ClCompile Include="lua\lua\ldump.c" /> <ClCompile Include="lua\lua\ldump.c" />
<ClCompile Include="lua\lua\lfunc.c" /> <ClCompile Include="lua\lua\lfunc.c" />
<ClCompile Include="lua\lua\lgc.c" /> <ClCompile Include="lua\lua\lgc.c" />
<ClCompile Include="lua\lua\linit.c" />
<ClCompile Include="lua\lua\liolib.c" /> <ClCompile Include="lua\lua\liolib.c" />
<ClCompile Include="lua\lua\llex.c" /> <ClCompile Include="lua\lua\llex.c" />
<ClCompile Include="lua\lua\lmathlib.c" /> <ClCompile Include="lua\lua\lmathlib.c" />

View File

@ -168,9 +168,6 @@
<ClCompile Include="lua\lua\lcode.c"> <ClCompile Include="lua\lua\lcode.c">
<Filter>Lua\Lua</Filter> <Filter>Lua\Lua</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="lua\lua\ldblib.c">
<Filter>Lua\Lua</Filter>
</ClCompile>
<ClCompile Include="lua\lua\ldebug.c"> <ClCompile Include="lua\lua\ldebug.c">
<Filter>Lua\Lua</Filter> <Filter>Lua\Lua</Filter>
</ClCompile> </ClCompile>
@ -186,9 +183,6 @@
<ClCompile Include="lua\lua\lgc.c"> <ClCompile Include="lua\lua\lgc.c">
<Filter>Lua\Lua</Filter> <Filter>Lua\Lua</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="lua\lua\linit.c">
<Filter>Lua\Lua</Filter>
</ClCompile>
<ClCompile Include="lua\lua\liolib.c"> <ClCompile Include="lua\lua\liolib.c">
<Filter>Lua\Lua</Filter> <Filter>Lua\Lua</Filter>
</ClCompile> </ClCompile>

View File

@ -43,8 +43,7 @@ void LuaManager::Initialize()
{ NULL, NULL } { NULL, NULL }
}; };
const luaL_Reg* lib = lualibs; for (const luaL_Reg* lib = lualibs; lib->func; ++lib)
for (; lib->func; lib++)
{ {
lua_pushcfunction(c_State, lib->func); lua_pushcfunction(c_State, lib->func);
lua_pushstring(c_State, lib->name); lua_pushstring(c_State, lib->name);