Macros | Functions
upb/upb/bindings/lua/upb.c File Reference
#include "upb/bindings/lua/upb.h"
#include <float.h>
#include <math.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "lauxlib.h"
#include "upb/msg.h"
Include dependency graph for upb/upb/bindings/lua/upb.c:

Go to the source code of this file.

Macros

#define INTCHECK(type, ctype, min, max)
 

Functions

int lua_getiuservalue (lua_State *L, int index, int n)
 
static bool lua_isinteger (lua_State *L, int argn)
 
int lua_setiuservalue (lua_State *L, int index, int n)
 
int luaopen_lupb (lua_State *L)
 
bool lupb_checkbool (lua_State *L, int narg)
 
double lupb_checkdouble (lua_State *L, int narg)
 
float lupb_checkfloat (lua_State *L, int narg)
 
void lupb_checkstatus (lua_State *L, upb_Status *s)
 
const char * lupb_checkstring (lua_State *L, int narg, size_t *len)
 
int lupb_indexmm (lua_State *L)
 
void * lupb_newuserdata (lua_State *L, size_t size, int n, const char *type)
 
void lupb_pushdouble (lua_State *L, double d)
 
void lupb_pushfloat (lua_State *L, float d)
 
void lupb_register_type (lua_State *L, const char *name, const luaL_Reg *m, const luaL_Reg *mm)
 

Macro Definition Documentation

◆ INTCHECK

#define INTCHECK (   type,
  ctype,
  min,
  max 
)

Definition at line 183 of file upb/upb/bindings/lua/upb.c.

Function Documentation

◆ lua_getiuservalue()

int lua_getiuservalue ( lua_State *  L,
int  index,
int  n 
)

Definition at line 106 of file upb/upb/bindings/lua/upb.c.

◆ lua_isinteger()

static bool lua_isinteger ( lua_State *  L,
int  argn 
)
static

Definition at line 64 of file upb/upb/bindings/lua/upb.c.

◆ lua_setiuservalue()

int lua_setiuservalue ( lua_State *  L,
int  index,
int  n 
)

Definition at line 98 of file upb/upb/bindings/lua/upb.c.

◆ luaopen_lupb()

int luaopen_lupb ( lua_State *  L)

Definition at line 241 of file upb/upb/bindings/lua/upb.c.

◆ lupb_checkbool()

bool lupb_checkbool ( lua_State *  L,
int  narg 
)

Definition at line 163 of file upb/upb/bindings/lua/upb.c.

◆ lupb_checkdouble()

double lupb_checkdouble ( lua_State *  L,
int  narg 
)

Definition at line 215 of file upb/upb/bindings/lua/upb.c.

◆ lupb_checkfloat()

float lupb_checkfloat ( lua_State *  L,
int  narg 
)

Definition at line 227 of file upb/upb/bindings/lua/upb.c.

◆ lupb_checkstatus()

void lupb_checkstatus ( lua_State *  L,
upb_Status s 
)

Definition at line 72 of file upb/upb/bindings/lua/upb.c.

◆ lupb_checkstring()

const char* lupb_checkstring ( lua_State *  L,
int  narg,
size_t *  len 
)

Definition at line 172 of file upb/upb/bindings/lua/upb.c.

◆ lupb_indexmm()

int lupb_indexmm ( lua_State *  L)

Definition at line 116 of file upb/upb/bindings/lua/upb.c.

◆ lupb_newuserdata()

void* lupb_newuserdata ( lua_State *  L,
size_t  size,
int  n,
const char *  type 
)

Definition at line 80 of file upb/upb/bindings/lua/upb.c.

◆ lupb_pushdouble()

void lupb_pushdouble ( lua_State *  L,
double  d 
)

Definition at line 235 of file upb/upb/bindings/lua/upb.c.

◆ lupb_pushfloat()

void lupb_pushfloat ( lua_State *  L,
float  d 
)

Definition at line 237 of file upb/upb/bindings/lua/upb.c.

◆ lupb_register_type()

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.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:36