summaryrefslogtreecommitdiff
path: root/upb/bindings/lua/upb.h
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2016-12-14 12:22:06 -0800
committerGitHub <noreply@github.com>2016-12-14 12:22:06 -0800
commitd5d2eadee5ef2348866d34b3d6e4a616c09576b9 (patch)
tree30e4ed2ea864c824fd137d7f783fd51ef66ee2bb /upb/bindings/lua/upb.h
parent076a82ee7edf35fb5f2a3430535e21a6dbd4cd6d (diff)
parent6cccfe16493c9c88ea198ca37af915179ccf7eaf (diff)
Merge pull request #75 from haberman/msg
Basic serialization for upb_msg and Lua.
Diffstat (limited to 'upb/bindings/lua/upb.h')
-rw-r--r--upb/bindings/lua/upb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/upb/bindings/lua/upb.h b/upb/bindings/lua/upb.h
index 109113c..a46474b 100644
--- a/upb/bindings/lua/upb.h
+++ b/upb/bindings/lua/upb.h
@@ -99,7 +99,6 @@ void lupb_checkstatus(lua_State *L, upb_status *s);
upb_fieldtype_t lupb_checkfieldtype(lua_State *L, int narg);
void *lupb_refcounted_check(lua_State *L, int narg, const char *type);
-const upb_msgdef *lupb_msg_checkdef(lua_State *L, int narg);
const upb_msgdef *lupb_msgdef_check(lua_State *L, int narg);
const upb_enumdef *lupb_enumdef_check(lua_State *L, int narg);
const upb_fielddef *lupb_fielddef_check(lua_State *L, int narg);
@@ -131,7 +130,10 @@ typedef struct lupb_msgclass lupb_msgclass;
upb_arena *lupb_arena_check(lua_State *L, int narg);
int lupb_arena_new(lua_State *L);
int lupb_msg_pushref(lua_State *L, int msgclass, void *msg);
+const upb_msg *lupb_msg_checkmsg(lua_State *L, int narg,
+ const lupb_msgclass *lmsgclass);
+const lupb_msgclass *lupb_msgclass_check(lua_State *L, int narg);
const upb_msglayout *lupb_msgclass_getlayout(lua_State *L, int narg);
const upb_handlers *lupb_msgclass_getmergehandlers(lua_State *L, int narg);
void lupb_msg_registertypes(lua_State *L);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback