]> granicus.if.org Git - nethack/commitdiff
Add missing NULLs to lua function reg array
authorPasi Kallinen <paxed@alt.org>
Tue, 7 Jan 2020 06:44:36 +0000 (08:44 +0200)
committerPasi Kallinen <paxed@alt.org>
Tue, 7 Jan 2020 06:44:36 +0000 (08:44 +0200)
src/nhlua.c

index 13e4196c82e4327f11dd97628073f03ebb40fbb4..f215ea01c71903a8f347d474700d9f34664e9df4 100644 (file)
@@ -884,6 +884,7 @@ lua_State *L;
 static const struct luaL_Reg nhl_u_functions[] = {
     { "clear_inventory", nhl_u_clear_inventory },
     { "giveobj", nhl_u_giveobj },
+    { NULL, NULL }
 };
 
 void