src/ravi_jit.c
static int ravi_dump_luacode(lua_State *L) {
  int n = lua_gettop(L);
  luaL_argcheck(L, n == 1, 1, "1 argument expected");
  luaL_argcheck(L, lua_isfunction(L, 1) && !lua_iscfunction(L, 1), 1,
                "argument must be a Lua function");
  ravi_dump_function(L);
  return 0;
}
// Dump Lua bytecode of the supplied function
Dump Lua bytecode of the supplied function
Dump Lua bytecode of the supplied function
static int ravi_dump_luacode(lua_State *L) {
  int n = lua_gettop(L);
  luaL_argcheck(L, n == 1, 1, "1 argument expected");
  luaL_argcheck(L, lua_isfunction(L, 1) && !lua_iscfunction(L, 1), 1,
                "argument must be a Lua function");
  ravi_dump_function(L);
  return 0;
}
static int ravi_dump_luacode ( lua_State * L ) { int n = lua_gettop ( L ) ; luaL_argcheck ( L , n == 1 , 1 , " " ) ; luaL_argcheck ( L , lua_isfunction ( L , 1 ) && ! lua_iscfunction ( L , 1 ) , 1 , " " ) ; ravi_dump_function ( L ) ; return 0 ; }
Dump Lua bytecode of the supplied function
Dump Lua bytecode of the supplied function