mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-10 17:13:09 +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) \
|
#define ENCODE_ARGS_WITH_STATE(L, value) \
|
||||||
_Generic((value), \
|
_Generic((value), \
|
||||||
int : lua_pushinteger, \
|
int : lua_pushinteger, \
|
||||||
|
long long : lua_pushinteger, \
|
||||||
long long * : lua_pushintegerp, \
|
long long * : lua_pushintegerp, \
|
||||||
struct prefix * : lua_pushprefix, \
|
struct prefix * : lua_pushprefix, \
|
||||||
struct interface * : lua_pushinterface, \
|
struct interface * : lua_pushinterface, \
|
||||||
|
Loading…
Reference in New Issue
Block a user