9 #ifndef luasandbox_serialize_h_ 10 #define luasandbox_serialize_h_ const char * lsb_err_value
Lua sandbox output generation/retrieval functions.
LSB_EXPORT lsb_err_value lsb_serialize_binary(lsb_output_buffer *output, const void *src, size_t len)
Serializes a binary data to a Lua string.
LSB_EXPORT void lsb_add_serialize_function(lua_State *lua, lua_CFunction fp)
Add a serialization function to the environment table.
int(* lua_CFunction)(lua_State *L)
struct lua_State lua_State
Data stream output buffer.
LSB_EXPORT lsb_err_value lsb_serialize_double(lsb_output_buffer *output, double d)
More efficient serialization of a double to a string.