rename external/luasrc => external/lua

This commit is contained in:
Jeremy Baxter 2023-12-27 23:16:49 +00:00
parent 88863a2a3d
commit 9db822c84f
67 changed files with 8 additions and 8 deletions

View file

@ -13,7 +13,7 @@
##### Build defaults #####
CC = cc
AR = ar cr
CFLAGS = -std=c99 -O2 -Wall -Wno-unused-function -pedantic -fpic -DNDEBUG -I../luasrc
CFLAGS = -std=c99 -O2 -Wall -Wno-unused-function -pedantic -fpic -DNDEBUG -I../lua
OBJS = dtoa.o fpconv.o g_fmt.o lua_cjson.o strbuf.o
##### End customisable sections #####

View file

@ -379,7 +379,7 @@ static int db_sethook (lua_State *L) {
if (!luaL_getsubtable(L, LUA_REGISTRYINDEX, HOOKKEY)) {
/* table just created; initialize it */
lua_pushliteral(L, "k");
lua_setfield(L, -2, "__mode"); /* hooktable.__mode = "k" */
lua_setfield(L, -2, "__mode"); /** hooktable.__mode = "k" */
lua_pushvalue(L, -1);
lua_setmetatable(L, -2); /* metatable(hooktable) = hooktable */
}