diff options
| author | Quentin Young <qlyoung@nvidia.com> | 2020-11-29 18:00:35 -0500 |
|---|---|---|
| committer | Quentin Young <qlyoung@nvidia.com> | 2020-12-01 18:37:14 -0500 |
| commit | eeb61724232734b1ed26523589060b2b471d3584 (patch) | |
| tree | f0a64620cf3a29b7df0dd5d3a7c75ec9d102f98b /lib/frrlua.c | |
| parent | 47dd87363292e326e971d53f4a3b9e58edb6a3c6 (diff) | |
lib: add more type encoders, register existings
Signed-off-by: Quentin Young <qlyoung@nvidia.com>
Diffstat (limited to 'lib/frrlua.c')
| -rw-r--r-- | lib/frrlua.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/frrlua.c b/lib/frrlua.c index c8a04fb3dc..dd468a3def 100644 --- a/lib/frrlua.c +++ b/lib/frrlua.c @@ -150,6 +150,11 @@ void lua_pushtimet(lua_State *L, const time_t *time) lua_pushinteger(L, *time); } +void lua_pushintegerp(lua_State *L, const int *num) +{ + lua_pushinteger(L, *num); +} + /* * Logging. * |
