Lines Matching refs:PyObject
255 handle th((PyObject *) tinfo->type);
424 static PyObject *dispatcher(PyObject *self, PyObject *args_in, PyObject *kwargs_in) {
509 call.args.push_back(reinterpret_cast<PyObject *>(&self_value_and_holder));
849 PyObject *obj = PyImport_ImportModule(name);
857 PyObject *obj = PyImport_ReloadModule(ptr());
881 PyObject *p = PyEval_GetGlobals();
955 buffer_info *(*get_buffer)(PyObject *, void *),
977 auto property = handle((PyObject *) (is_static ? get_internals().static_property_type
1166 install_buffer_funcs([](PyObject *obj, void *ptr) -> buffer_info* {
1400 auto property = handle((PyObject *) &PyProperty_Type);
1401 auto static_property = handle((PyObject *) get_internals().static_property_type);
1649 weakref((PyObject *) type, cpp_function([type](handle wr) {
1744 auto implicit_caster = [](PyObject *obj, PyTypeObject *type) -> PyObject * {
1753 PyObject *result = PyObject_Call((PyObject *) type, args.ptr(), nullptr);
1782 exception(handle scope, const char *name, PyObject *base = PyExc_Exception) {
1815 PyObject *base = PyExc_Exception) {
2050 PyObject *self_caller = PyDict_GetItem(
2060 PyObject *result = PyRun_String(