mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-10 08:29:22 +00:00
lib: Add more Lua types to encoder/decoder
Signed-off-by: Donald Lee <dlqs@gmx.com>
This commit is contained in:
parent
2faab06ed3
commit
ac3fdc60df
@ -197,6 +197,7 @@ void _lua_decode_noop(lua_State *, ...);
|
||||
#define ENCODE_ARGS_WITH_STATE(L, value) \
|
||||
_Generic((value), \
|
||||
int : lua_pushinteger, \
|
||||
long long : lua_pushinteger, \
|
||||
long long * : lua_pushintegerp, \
|
||||
struct prefix * : lua_pushprefix, \
|
||||
struct interface * : lua_pushinterface, \
|
||||
|
Loading…
Reference in New Issue
Block a user