Searched refs:PyCFunction_NewEx (Results 1 – 18 of 18) sorted by relevance
/external/python/cpython3/Include/ |
D | methodobject.h | 44 #define PyCFunction_New(ML, SELF) PyCFunction_NewEx((ML), (SELF), NULL) 45 PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *, 49 #define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL) macro
|
/external/python/cpython2/Include/ |
D | methodobject.h | 48 #define PyCFunction_New(ML, SELF) PyCFunction_NewEx((ML), (SELF), NULL) 49 PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *,
|
/external/python/cpython3/Objects/ |
D | methodobject.c | 14 #undef PyCFunction_NewEx 34 return PyCFunction_NewEx(ml, self, NULL); in PyCFunction_New() 38 PyCFunction_NewEx(PyMethodDef *ml, PyObject *self, PyObject *module) in PyCFunction_NewEx() function
|
D | moduleobject.c | 151 func = PyCFunction_NewEx(fdef, (PyObject*)module, name); in _add_methods_to_object()
|
D | descrobject.c | 155 return PyCFunction_NewEx(descr->d_method, obj, NULL); in method_get()
|
D | typeobject.c | 4992 PyObject *cfunc = PyCFunction_NewEx(meth, (PyObject*)type, NULL); in add_methods() 6248 func = PyCFunction_NewEx(tp_new_methoddef, (PyObject *)type, NULL); in add_tp_new_wrapper()
|
/external/python/cpython2/Objects/ |
D | methodobject.c | 17 PyCFunction_NewEx(PyMethodDef *ml, PyObject *self, PyObject *module) in PyCFunction_NewEx() function 426 return PyCFunction_NewEx(ml, self, NULL); in PyCFunction_New()
|
/external/python/cpython2/Python/ |
D | modsupport.c | 81 v = PyCFunction_NewEx(ml, passthrough, n); in Py_InitModule4()
|
/external/python/pybind11/tests/ |
D | test_class.cpp | 242 … return py::reinterpret_steal<py::object>(PyCFunction_NewEx(def, def_capsule.ptr(), m.ptr())); in TEST_SUBMODULE()
|
/external/python/cffi/c/ |
D | lib_obj.c | 194 result = PyCFunction_NewEx(&xfunc->md, (PyObject *)lib, lib->l_libname); in lib_build_cpython_func()
|
/external/python/cpython3/Modules/ |
D | _abc.c | 188 destroy_cb = PyCFunction_NewEx(&_destroy_def, wr, NULL); in _add_to_weak_set()
|
D | _threadmodule.c | 780 self->wr_callback = PyCFunction_NewEx(&wr_callback_def, wr, NULL); in local_new()
|
D | _testcapimodule.c | 3656 return PyCFunction_NewEx(&ml, self, NULL); in create_cfunction()
|
/external/python/cpython3/PC/ |
D | python3.def | 42 PyCFunction_NewEx=python39.PyCFunction_NewEx
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 430 "PyCFunction_NewEx"
|
/external/python/cpython3/Python/ |
D | codecs.c | 1516 PyObject *func = PyCFunction_NewEx(&methods[i].def, NULL, NULL); in _PyCodecRegistry_Init()
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.9.0a5.rst | 1227 :c:func:`PyDescr_NewMethod` and :c:func:`PyCFunction_NewEx` now include the
|
/external/python/pybind11/include/pybind11/ |
D | pybind11.h | 414 m_ptr = PyCFunction_NewEx(rec->def, rec_capsule.ptr(), scope_module.ptr()); in PYBIND11_NAMESPACE_BEGIN()
|