summaryrefslogtreecommitdiff
path: root/lang_ext
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2011-04-08 18:07:30 -0700
committerJoshua Haberman <jhaberman@gmail.com>2011-04-08 18:07:30 -0700
commitc110061a7310db65f71c2d716d5ed9d9b2b900e0 (patch)
tree42fd0a9be18d23fb753e92c99da80561a85c9350 /lang_ext
parent813bc74be61e910d3fe9e013d0ee5cca1cce6fd0 (diff)
Small change to make Lua extension compile again.
Diffstat (limited to 'lang_ext')
-rw-r--r--lang_ext/lua/upb.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/lang_ext/lua/upb.c b/lang_ext/lua/upb.c
index cc21922..f173cca 100644
--- a/lang_ext/lua/upb.c
+++ b/lang_ext/lua/upb.c
@@ -585,15 +585,8 @@ static int lupb_symtab_new(lua_State *L) {
return 1;
}
-static int lupb_getfdsdef(lua_State *L) {
- upb_msgdef *fdsdef = upb_getfdsdef(); // Gets a ref on fdsdef.
- lupb_def_getorcreate(L, UPB_UPCAST(fdsdef), true);
- return 1;
-}
-
static const struct luaL_Reg lupb_toplevel_m[] = {
{"symtab", lupb_symtab_new},
- {"fdsdef", lupb_getfdsdef},
{NULL, NULL}
};
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback