From 90bb4246c34580eb6c8a5a41a4e19fcd5f334f09 Mon Sep 17 00:00:00 2001 From: Josh Haberman Date: Sat, 25 May 2013 10:26:59 -0700 Subject: Synced with Google-internal development. C++ handlers are now type-safe; SinkFrame is gone. Various other changes. --- bindings/lua/upb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bindings') diff --git a/bindings/lua/upb.c b/bindings/lua/upb.c index 29de9f0..6768aee 100644 --- a/bindings/lua/upb.c +++ b/bindings/lua/upb.c @@ -486,7 +486,7 @@ static int lupb_fielddef_default(lua_State *L) { static int lupb_fielddef_getsel(lua_State *L) { const upb_fielddef *f = lupb_fielddef_check(L, 1); upb_selector_t sel; - if (upb_getselector(f, luaL_checknumber(L, 2), &sel)) { + if (upb_handlers_getselector(f, luaL_checknumber(L, 2), &sel)) { lua_pushnumber(L, sel); return 1; } else { -- cgit v1.2.3