Haka
marshal.h
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 
5 #ifndef HAKA_LUA_MARSHAL_H
6 #define HAKA_LUA_MARSHAL_H
7 
8 #include <haka/types.h>
9 
10 struct lua_State;
11 
12 char *lua_marshal(struct lua_State *L, int index, size_t *len);
13 bool lua_unmarshal(struct lua_State *L, const char *data, size_t len);
14 
15 #endif /* HAKA_LUA_MARSHAL_H */