upgrade header files to Lua 5.4 (#1436)

* refactor(native_api_header): upgrade header files to Lua 5.4.

Almost all of the symbols in this file was from 5.2. This will obviously
not work because some function signatures have changed and some have
completely wrong return values, etc.
This commit updates the header files to Lua 5.4 based on the source code
and changes a few things.

* refactor(plugin_api): move the header into include/

* fix(lite_xl_plugin_api.h): include stdlib to avoid errors with exit

* refactor(lite_xl_plugin_api.h): do not return in SYMBOL_WRAP_CALL

* fix(lite_xl_plugin_api.h): fix wrong way of passing varargs

* fix(lite_xl_plugin_api.h): fix differing lua_rawlen definition

* fix(lite_xl_plugin_api.h): fix fallback function signature

* fix(lite_xl_plugin_api.h): fix conversion from void * to function pointer
This commit is contained in:
Takase 2023-04-11 23:20:28 +08:00 committed by George Sokianos
parent baa8f528f1
commit c2357721e5
2 changed files with 2563 additions and 1124 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff