mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00

"cfuncs" was only ever used to wrap luarefs. As vim8script is finished and will not be developed further, support for "cfuncs" for other usecases are not planned. This abstraction was immediately broken anyway in order to get luarefs out of userfuncs again. Even if a new kind of userfunc needs to be invented in the future, likely just extending the FC_... flag union directy, instead of invoking unnecessary heap object and c function pointer indirection, will be a more straightforward design pattern.
16 lines
329 B
C
16 lines
329 B
C
#ifndef NVIM_LUA_CONVERTER_H
|
|
#define NVIM_LUA_CONVERTER_H
|
|
|
|
#include <lua.h>
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
#include "nvim/api/private/defs.h"
|
|
#include "nvim/eval/typval.h"
|
|
#include "nvim/func_attr.h"
|
|
|
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
|
# include "lua/converter.h.generated.h"
|
|
#endif
|
|
#endif // NVIM_LUA_CONVERTER_H
|