static int py_asfunc_call(lua_State *L) { lua_pushvalue(L, lua_upvalueindex(1)); lua_insert(L, 1); return py_object_call(L); }
/* Turn off the conversion of object */ static void py_byrefc(lua_State *L) { python_setnumber(L, PY_OBJECT_BY_REFERENCE, 1); py_object_call(L); python_setnumber(L, PY_OBJECT_BY_REFERENCE, 0); }