From ac3fdc60df78cb2b301943e6fdf78b5efe9df66a Mon Sep 17 00:00:00 2001 From: Donald Lee Date: Tue, 10 Aug 2021 04:37:32 +0800 Subject: [PATCH] lib: Add more Lua types to encoder/decoder Signed-off-by: Donald Lee --- lib/frrscript.h | 1 + 1 file changed, 1 insertion(+) 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, \ -- 2.39.5