diff options
| author | Donald Lee <dlqs@gmx.com> | 2021-07-17 20:46:10 +0800 |
|---|---|---|
| committer | Donald Lee <dlqs@gmx.com> | 2021-07-18 06:32:03 +0800 |
| commit | 2b67227e6e69a0d5ce1831185f95182f8874ee37 (patch) | |
| tree | 0656b47a3192065d62d8ccae37bf9a381c7fe8b6 /lib/frrlua.h | |
| parent | 8878080b1b5185c45ce1ec6f633d628ca41643ad (diff) | |
lib: Add int encoder/decoder
Signed-off-by: Donald Lee <dlqs@gmx.com>
Diffstat (limited to 'lib/frrlua.h')
| -rw-r--r-- | lib/frrlua.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/frrlua.h b/lib/frrlua.h index c4de82740c..2c86d87cbd 100644 --- a/lib/frrlua.h +++ b/lib/frrlua.h @@ -162,10 +162,12 @@ void lua_decode_stringp(lua_State *L, int idx, char *str); void *lua_tostringp(lua_State *L, int idx); /* - * No-op decocder + * No-op decocders */ void lua_decode_noop(lua_State *L, int idx, const void *ptr); +void lua_decode_int_noop(lua_State *L, int idx, int i); + /* * Retrieve an integer from table on the top of the stack. * |
