Go to the source code of this file.
Macros | |
#define | lupb_assert(L, predicate) |
#define | LUPB_UNREACHABLE() |
#define | LUPB_UNUSED(var) (void)var |
#define lupb_assert | ( | L, | |
predicate | |||
) |
Definition at line 113 of file upb/upb/bindings/lua/upb.h.
#define LUPB_UNREACHABLE | ( | ) |
Definition at line 126 of file upb/upb/bindings/lua/upb.h.
#define LUPB_UNUSED | ( | var | ) | (void)var |
Definition at line 117 of file upb/upb/bindings/lua/upb.h.
Definition at line 106 of file upb/upb/bindings/lua/upb.c.
Definition at line 98 of file upb/upb/bindings/lua/upb.c.
int luaopen_lupb | ( | lua_State * | L | ) |
Definition at line 241 of file upb/upb/bindings/lua/upb.c.
upb_Arena* lupb_Arena_pushnew | ( | lua_State * | L | ) |
Definition at line 202 of file bindings/lua/msg.c.
Definition at line 163 of file upb/upb/bindings/lua/upb.c.
double lupb_checkdouble | ( | lua_State * | L, |
int | narg | ||
) |
Definition at line 215 of file upb/upb/bindings/lua/upb.c.
float lupb_checkfloat | ( | lua_State * | L, |
int | narg | ||
) |
Definition at line 227 of file upb/upb/bindings/lua/upb.c.
void lupb_checkstatus | ( | lua_State * | L, |
upb_Status * | s | ||
) |
Definition at line 72 of file upb/upb/bindings/lua/upb.c.
Definition at line 172 of file upb/upb/bindings/lua/upb.c.
void lupb_def_registertypes | ( | lua_State * | L | ) |
Definition at line 889 of file upb/upb/bindings/lua/def.c.
upb_DefPool* lupb_DefPool_check | ( | lua_State * | L, |
int | narg | ||
) |
Definition at line 712 of file upb/upb/bindings/lua/def.c.
const upb_EnumDef* lupb_EnumDef_check | ( | lua_State * | L, |
int | narg | ||
) |
Definition at line 522 of file upb/upb/bindings/lua/def.c.
const upb_FieldDef* lupb_FieldDef_check | ( | lua_State * | L, |
int | narg | ||
) |
Definition at line 98 of file upb/upb/bindings/lua/def.c.
int lupb_MessageDef_call | ( | lua_State * | L | ) |
lupb_MessageDef_call
Handles: new_msg = MessageClass() new_msg = MessageClass{foo = "bar", baz = 3, quux = {foo = 3}}
Definition at line 789 of file bindings/lua/msg.c.
const upb_MessageDef* lupb_MessageDef_check | ( | lua_State * | L, |
int | narg | ||
) |
From def.c.
Definition at line 322 of file upb/upb/bindings/lua/def.c.
void lupb_MessageDef_pushsubmsgdef | ( | lua_State * | L, |
const upb_FieldDef * | f | ||
) |
Definition at line 89 of file upb/upb/bindings/lua/def.c.
void lupb_msg_registertypes | ( | lua_State * | L | ) |
Definition at line 1097 of file bindings/lua/msg.c.
Definition at line 80 of file upb/upb/bindings/lua/upb.c.
void lupb_pushint32 | ( | lua_State * | L, |
int32_t | val | ||
) |
void lupb_pushint64 | ( | lua_State * | L, |
int64_t | val | ||
) |
void lupb_pushmsgval | ( | lua_State * | L, |
int | container, | ||
upb_CType | type, | ||
upb_MessageValue | val | ||
) |
From msg.c.
Definition at line 319 of file bindings/lua/msg.c.
void lupb_pushuint32 | ( | lua_State * | L, |
uint32_t | val | ||
) |
void lupb_pushuint64 | ( | lua_State * | L, |
uint64_t | val | ||
) |
void lupb_register_type | ( | lua_State * | L, |
const char * | name, | ||
const luaL_Reg * | m, | ||
const luaL_Reg * | mm | ||
) |
Definition at line 132 of file upb/upb/bindings/lua/upb.c.