Change NULL to nullptr

This commit is contained in:
Birunthan Mohanathas
2013-05-31 17:28:39 +03:00
parent da9384cfad
commit 1934c5db72
92 changed files with 760 additions and 759 deletions

View File

@ -37,7 +37,7 @@ static int Print(lua_State* L)
// Get result
const char* s = lua_tostring(L, -1);
if (s == NULL)
if (s == nullptr)
{
return luaL_error(L, LUA_QL("tostring") " must return a string to " LUA_QL("print"));
}
@ -73,7 +73,7 @@ void LuaManager::RegisterGlobal(lua_State* L)
const luaL_Reg toluaFuncs[] =
{
{ "cast", tolua_cast },
{ NULL, NULL }
{ nullptr, nullptr }
};
luaL_register(L, "tolua", toluaFuncs);