Use this noop decoder for const values (since we can't mutate a const
value passed into frrscript_call anyways) or values we don't want to
write a decoder for.
Signed-off-by: Donald Lee <dlqs@gmx.com>
return string;
}
+void lua_decode_noop(lua_State *L, int idx, const void *ptr)
+{
+}
+
/*
* Logging.
*
*/
void *lua_tostringp(lua_State *L, int idx);
+/*
+ * No-op decocder
+ */
+void lua_decode_noop(lua_State *L, int idx, const void *ptr);
+
/*
* Retrieve an integer from table on the top of the stack.
*