diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-03-20 16:53:14 +0100 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-03-20 16:53:14 +0100 |
commit | df1113151aff47bfd1b401bf8d06a3fe8f6b9115 (patch) | |
tree | e14449dad963d0b441edebf2cf74713d5b9dd665 /src/compat.h | |
parent | 6556cc558f0602cc99b1a8d1c7212b2e91490cdc (diff) | |
download | lanes-df1113151aff47bfd1b401bf8d06a3fe8f6b9115.tar.gz lanes-df1113151aff47bfd1b401bf8d06a3fe8f6b9115.tar.bz2 lanes-df1113151aff47bfd1b401bf8d06a3fe8f6b9115.zip |
C++ migration: more NULL → nullptr
Diffstat (limited to 'src/compat.h')
-rw-r--r-- | src/compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat.h b/src/compat.h index ed56cc6..46c31cf 100644 --- a/src/compat.h +++ b/src/compat.h | |||
@@ -36,7 +36,7 @@ extern "C" { | |||
36 | #define lua_setuservalue lua_setfenv | 36 | #define lua_setuservalue lua_setfenv |
37 | #define lua_getuservalue lua_getfenv | 37 | #define lua_getuservalue lua_getfenv |
38 | #define lua_rawlen lua_objlen | 38 | #define lua_rawlen lua_objlen |
39 | #define luaG_registerlibfuncs( L, _funcs) luaL_register( L, NULL, _funcs) | 39 | #define luaG_registerlibfuncs(L, _funcs) luaL_register(L, nullptr, _funcs) |
40 | #define LUA_OK 0 | 40 | #define LUA_OK 0 |
41 | #define LUA_ERRGCMM 666 // doesn't exist in Lua 5.1, we don't care about the actual value | 41 | #define LUA_ERRGCMM 666 // doesn't exist in Lua 5.1, we don't care about the actual value |
42 | void luaL_requiref (lua_State* L, const char* modname, lua_CFunction openf, int glb); // implementation copied from Lua 5.2 sources | 42 | void luaL_requiref (lua_State* L, const char* modname, lua_CFunction openf, int glb); // implementation copied from Lua 5.2 sources |