summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Lee <dlqs@gmx.com>2021-08-10 04:37:32 +0800
committerQuentin Young <qlyoung@qlyoung.net>2023-11-20 20:45:01 -0500
commitac3fdc60df78cb2b301943e6fdf78b5efe9df66a (patch)
treef894c48c28f96b8d829b6c3e456ffccc68fc98c7
parent2faab06ed3bfad11fceb1108614420c1b9edbd5d (diff)
lib: Add more Lua types to encoder/decoder
Signed-off-by: Donald Lee <dlqs@gmx.com>
-rw-r--r--lib/frrscript.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/frrscript.h b/lib/frrscript.h
index a662a808d7..f842dd9f45 100644
--- a/lib/frrscript.h
+++ b/lib/frrscript.h
@@ -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, \