Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Sun, 16 Jun 2024 09:38:22 UTC Commit: d8df49551c777ea2897732c490b56c645e1fae50 https://github.com/geany/geany-plugins/commit/d8df49551c777ea2897732c490b56c...
Log Message: ----------- Merge pull request #1231 from xiota/pr-lua-luaL_Reg
GeanyLua: Use `luaL_Reg` instead of compatibility name `luaL_reg`.
Modified Paths: -------------- geanylua/glspi_app.c geanylua/glspi_dlg.c geanylua/glspi_doc.c geanylua/glspi_init.c geanylua/glspi_kfile.c geanylua/glspi_run.c geanylua/glspi_sci.c geanylua/gsdlg_lua.c
Modified: geanylua/glspi_app.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -528,7 +528,7 @@ static gint glspi_reloadconf(lua_State* L)
-static const struct luaL_reg glspi_app_funcs[] = { +static const struct luaL_Reg glspi_app_funcs[] = { {"pluginver", glspi_pluginver}, {"appinfo", glspi_appinfo}, {"xsel", glspi_xsel},
Modified: geanylua/glspi_dlg.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -540,7 +540,7 @@ static gint glspi_pickfile(lua_State* L)
-static const struct luaL_reg glspi_dlg_funcs[] = { +static const struct luaL_Reg glspi_dlg_funcs[] = { {"choose", glspi_choose}, {"confirm", glspi_confirm}, {"input", glspi_input},
Modified: geanylua/glspi_doc.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -359,7 +359,7 @@ static gint glspi_setfiletype(lua_State* L)
-static const struct luaL_reg glspi_doc_funcs[] = { +static const struct luaL_Reg glspi_doc_funcs[] = { {"filename", glspi_filename}, {"fileinfo", glspi_fileinfo}, {"settype", glspi_setfiletype},
Modified: geanylua/glspi_init.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -539,7 +539,7 @@ static gint glspi_rescan(lua_State* L) { return 0; }
-static const struct luaL_reg glspi_mnu_funcs[] = { +static const struct luaL_Reg glspi_mnu_funcs[] = { {"rescan", glspi_rescan}, {NULL,NULL} };
Modified: geanylua/glspi_kfile.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -370,7 +370,7 @@ static gint kfile_remove(lua_State* L)
-static const struct luaL_reg kfile_funcs[] = { +static const struct luaL_Reg kfile_funcs[] = { {"new", kfile_new}, {"data", kfile_data}, {"groups", kfile_groups},
Modified: geanylua/glspi_run.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -279,7 +279,7 @@ static void glspi_state_done(lua_State *L)
-static const struct luaL_reg glspi_timer_funcs[] = { +static const struct luaL_Reg glspi_timer_funcs[] = { {"timeout", glspi_timeout}, {"yield", glspi_yield}, {"optimize", glspi_optimize},
Modified: geanylua/glspi_sci.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -972,7 +972,7 @@ struct Sci_TextToFind {
-static const struct luaL_reg glspi_sci_funcs[] = { +static const struct luaL_Reg glspi_sci_funcs[] = { {"text", glspi_text}, {"selection", glspi_selection}, {"select", glspi_select},
Modified: geanylua/gsdlg_lua.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -387,7 +387,7 @@ static gint gsdl_done(lua_State *L)
-static const struct luaL_reg gsdl_funcs[] = { +static const struct luaL_Reg gsdl_funcs[] = { {"new", gsdl_new}, {"run", gsdl_run}, {"label", gsdl_label},
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org