mirror of
https://github.com/neovim/neovim.git
synced 2025-09-23 11:38:31 +00:00
docs: misc #32959
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
-- Generates C code to bridge API <=> Lua.
|
||||
--
|
||||
-- Example (manual) invocation:
|
||||
--
|
||||
-- make
|
||||
@@ -192,7 +194,7 @@ for _, f in ipairs(shallowcopy(functions)) do
|
||||
.. ' has deprecated alias\n'
|
||||
.. newname
|
||||
.. ' which has a separate implementation.\n'
|
||||
.. 'Please remove it from src/nvim/api/dispatch_deprecated.lua'
|
||||
.. 'Remove it from src/nvim/api/dispatch_deprecated.lua'
|
||||
)
|
||||
os.exit(1)
|
||||
end
|
||||
@@ -729,6 +731,10 @@ output:write('\n')
|
||||
|
||||
local lua_c_functions = {}
|
||||
|
||||
--- Generates C code to bridge RPC API <=> Lua.
|
||||
---
|
||||
--- Inspect the result here:
|
||||
--- build/src/nvim/auto/api/private/dispatch_wrappers.generated.h
|
||||
local function process_function(fn)
|
||||
local lua_c_function_name = ('nlua_api_%s'):format(fn.name)
|
||||
write_shifted_output(
|
||||
|
Reference in New Issue
Block a user