diff options
Diffstat (limited to 'lib/frrlua.h')
| -rw-r--r-- | lib/frrlua.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/frrlua.h b/lib/frrlua.h index 8db5cec586..f9ab5509a6 100644 --- a/lib/frrlua.h +++ b/lib/frrlua.h @@ -65,6 +65,12 @@ void lua_pushtimet(lua_State *L, const time_t *time); void lua_pushsockunion(lua_State *L, const union sockunion *su); /* + * Push integer. This just wraps lua_pushinteger(), but it takes a pointer, so + * as to be compatible with the encoder_func signature. + */ +void lua_pushintegerp(lua_State *L, const int *num); + +/* * Retrieve an integer from table on the top of the stack. * * key |
