diff options
| author | Quentin Young <qlyoung@users.noreply.github.com> | 2021-08-02 13:51:35 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-02 13:51:35 +0000 |
| commit | 41d3d77496fb43df16c55c2c5834cdc3048f43d0 (patch) | |
| tree | 0ee0dcfb67330c179bb27e26eb0dd83d431468c9 /lib/frrlua.h | |
| parent | 08bbca7511959e1944f0d002dfcc71f51fcb777e (diff) | |
| parent | c5f9744c33df5a9d335691d73fbeb1ad8d0e58d4 (diff) | |
Merge pull request #8982 from dlqs/lua-func-stack
Diffstat (limited to 'lib/frrlua.h')
| -rw-r--r-- | lib/frrlua.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/frrlua.h b/lib/frrlua.h index c4de82740c..3e16c82e22 100644 --- a/lib/frrlua.h +++ b/lib/frrlua.h @@ -34,6 +34,8 @@ extern "C" { #endif +DECLARE_MTYPE(SCRIPT_RES); + /* * gcc-10 is complaining about the wrapper function * not being compatible with lua_pushstring returning @@ -162,10 +164,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 decoders */ void lua_decode_noop(lua_State *L, int idx, const void *ptr); +void lua_decode_integer_noop(lua_State *L, int idx, int i); + /* * Retrieve an integer from table on the top of the stack. * |
