Searched refs:lupb_newuserdata (Results 1 – 4 of 4) sorted by relevance
/third_party/grpc/third_party/upb/upb/bindings/lua/ |
D | msg.c | 175 lupb_arena *a = lupb_newuserdata(L, sizeof(lupb_arena), 1, LUPB_ARENA); in lupb_arena_pushnew() 371 larray = lupb_newuserdata(L, sizeof(*larray), 1, LUPB_ARRAY); in lupb_array_new() 375 larray = lupb_newuserdata(L, sizeof(*larray), 2, LUPB_ARRAY); in lupb_array_new() 481 lmap = lupb_newuserdata(L, sizeof(*lmap), 1, LUPB_MAP); in lupb_map_new() 485 lmap = lupb_newuserdata(L, sizeof(*lmap), 2, LUPB_MAP); in lupb_map_new() 643 lupb_msg *lmsg = lupb_newuserdata(L, sizeof(lupb_msg), 2, LUPB_MSG); in lupb_msg_pushnew() 662 lupb_msg *lmsg = lupb_newuserdata(L, sizeof(*lmsg), 2, LUPB_MSG); in lupb_msg_newmsgwrapper() 683 void* ud = lupb_newuserdata(L, size, 2, type); in lupb_msg_newud() 689 return lupb_newuserdata(L, size, 1, type); in lupb_msg_newud()
|
D | upb.h | 28 void *lupb_newuserdata(lua_State *L, size_t size, int n, const char *type);
|
D | upb.c | 53 void *lupb_newuserdata(lua_State *L, size_t size, int n, const char *type) { in lupb_newuserdata() function
|
D | def.c | 738 lupb_wrapper *w = lupb_newuserdata(L, sizeof(*w), 1, type); in lupb_symtab_pushwrapper() 760 lupb_symtab *lsymtab = lupb_newuserdata(L, sizeof(*lsymtab), 1, LUPB_SYMTAB); in lupb_symtab_new()
|