From: Donald Lee Date: Mon, 9 Aug 2021 20:37:32 +0000 (+0800) Subject: lib: Add more Lua types to encoder/decoder X-Git-Tag: base_10.0~237^2~4 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=ac3fdc60df78cb2b301943e6fdf78b5efe9df66a;p=mirror%2Ffrr.git lib: Add more Lua types to encoder/decoder Signed-off-by: Donald Lee --- 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, \