86+ results for 'PyCFunction_NewEx ' (286 ms)
47PyObject * 48PyCFunction_NewEx(PyMethodDef *ml, PyObject *self, PyObject *module) 49{ 180 break; 181 /* METH_O is deprecated; PyCFunction_NewEx is supposed to convert it to 182 METH_ARG_RANGE and set ml_{min,max}_arity correctly. */ 479 480/* PyCFunction_New() is now just a macro that calls PyCFunction_NewEx(), 481 but it's part of the API so we need to keep a function around that 490{ 491 return PyCFunction_NewEx(ml, self, NULL); 492}modsupport.c https://bitbucket.org/glix/python.git | C | 643 lines
79 } 80 v = PyCFunction_NewEx(ml, passthrough, n); 81 if (v == NULL) {methodobject.h https://bitbucket.org/khurley/python.git | C Header | 93 lines
47 48#define PyCFunction_New(ML, SELF) PyCFunction_NewEx((ML), (SELF), NULL) 49PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *,methodobject.c https://github.com/albertz/CPython.git | C | 333 lines
17 18/* undefine macro trampoline to PyCFunction_NewEx */ 19#undef PyCFunction_New 23{ 24 return PyCFunction_NewEx(ml, self, NULL); 25} 27PyObject * 28PyCFunction_NewEx(PyMethodDef *ml, PyObject *self, PyObject *module) 29{moduleobject.c https://bitbucket.org/kbengine/kbengine.git | C | 446 lines
133 } 134 v = PyCFunction_NewEx(ml, (PyObject*)m, n); 135 if (v == NULL) {methodobject.c https://gitlab.com/envieidoc/Clover | C | 427 lines
16PyObject * 17PyCFunction_NewEx(PyMethodDef *ml, PyObject *self, PyObject *module) 18{ 414 415/* PyCFunction_New() is now just a macro that calls PyCFunction_NewEx(), 416 but it's part of the API so we need to keep a function around that 425{ 426 return PyCFunction_NewEx(ml, self, NULL); 427}python32stub.def https://bitbucket.org/kbengine/kbengine.git | Module-Definition | 689 lines
39PyCFunction_GetSelf 40PyCFunction_NewEx 41PyCFunction_Typepython3.def https://github.com/albertz/CPython.git | Module-Definition | 799 lines
42 PyCFunction_New=python37.PyCFunction_New 43 PyCFunction_NewEx=python37.PyCFunction_NewEx 44 PyCFunction_Type=python37.PyCFunction_Type DATAmoduleobject.c https://github.com/albertz/CPython.git | C | 830 lines
158 } 159 func = PyCFunction_NewEx(fdef, (PyObject*)module, name); 160 if (func == NULL) {descrobject.c https://github.com/albertz/CPython.git | C | 1520 lines
124 } 125 return PyCFunction_NewEx(descr->d_method, type, NULL); 126} 134 return res; 135 return PyCFunction_NewEx(descr->d_method, obj, NULL); 136}_abc.c https://github.com/albertz/CPython.git | C | 832 lines
149 } 150 destroy_cb = PyCFunction_NewEx(&_destroy_def, wr, NULL); 151 if (destroy_cb == NULL) {modsupport.c https://gitlab.com/envieidoc/Clover | C | 644 lines
80 } 81 v = PyCFunction_NewEx(ml, passthrough, n); 82 if (v == NULL) {methodobject.h https://gitlab.com/abhi1tb/build | C Header | 131 lines
59 60#define PyCFunction_New(ML, SELF) PyCFunction_NewEx((ML), (SELF), NULL) 61PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *,python3.def https://bitbucket.org/kbengine/kbengine.git | Module-Definition | 689 lines
39 PyCFunction_GetSelf=python32.PyCFunction_GetSelf 40 PyCFunction_NewEx=python32.PyCFunction_NewEx 41 PyCFunction_Type=python32.PyCFunction_Type DATAdescrobject.c https://gitlab.com/unofficial-mirrors/cpython | C | 1491 lines
117 } 118 return PyCFunction_NewEx(descr->d_method, type, NULL); 119} 127 return res; 128 return PyCFunction_NewEx(descr->d_method, obj, NULL); 129} 325 326 func = PyCFunction_NewEx(descr->d_method, self, NULL); 327 if (func == NULL)methodobject.h https://gitlab.com/Alioth-Project/clang-r445002 | C Header | 110 lines
43 44#define PyCFunction_New(ML, SELF) PyCFunction_NewEx((ML), (SELF), NULL) 45PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *, 48#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03090000 49#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL) 50PyAPI_FUNC(PyObject *) PyCMethod_New(PyMethodDef *, PyObject *,methodobject.c https://github.com/brosner/cleese.git | C | 118 lines
8PyObject * 9PyCFunction_NewEx(PyMethodDef *ml, PyObject *self, PyObject *module) 10{540.html https://github.com/cocoatomo/Python3.2_C_API_Tutorial.git | HTML | 113 lines
67<a name='L47'> 68<a name='L48'><font color='darkred'>#define</font> <a href='../R/2605.html' title='Multiple refered from 13 places.'>PyCFunction_New</a>(ML, SELF) <a href='../S/2801.html#L17' title='Defined at 17 in Objects/methodobject.c.'>PyCFunction_NewEx</a>((ML), (SELF), <a href='../S/2891.html#L5' title='Defined at 5 in PC/os2emx/dllentry.c.'>NULL</a>) 69<a name='L49'><a href='../R/2475.html' title='Multiple refered from 87 places.'>PyAPI_FUNC</a>(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *,methodobject.c https://github.com/chrishaukap/GameDev.git | C | 427 lines
16PyObject * 17PyCFunction_NewEx(PyMethodDef *ml, PyObject *self, PyObject *module) 18{ 414 415/* PyCFunction_New() is now just a macro that calls PyCFunction_NewEx(), 416 but it's part of the API so we need to keep a function around that 425{ 426 return PyCFunction_NewEx(ml, self, NULL); 427}pyml_stubs.c https://github.com/coccinelle/coccinelle.git | C | 1414 lines
172/* Wrapped by pywrap_closure */ 173static PyObject *(*Python_PyCFunction_NewEx) 174(PyMethodDef *, PyObject *, PyObject *); 647 ml_def = (PyMethodDef *) caml_aux(obj); 648 PyObject *f = Python_PyCFunction_NewEx(ml_def, obj, NULL); 649 Py_DECREF(obj);pyml_stubs.c git://github.com/coccinelle/coccinelle.git | C | 1372 lines
169/* Wrapped by pywrap_closure */ 170static PyObject *(*Python_PyCFunction_NewEx) 171(PyMethodDef *, PyObject *, PyObject *); 634 ml_def = (PyMethodDef *) caml_aux(obj); 635 PyObject *f = Python_PyCFunction_NewEx(ml_def, obj, NULL); 636 CAMLreturn(pyml_wrap(f, true));pyinterpret.cpp https://pykd.svn.codeplex.com/svn | C++ | 857 lines
93 size_t( *PyTuple_Size)(PyObject *p); 94 PyObject* ( *PyCFunction_NewEx)(PyMethodDef *, PyObject *, PyObject *); 95 PyObject* ( *PySys_GetObject)(char *name);modsupport.py https://bitbucket.org/pypy/pypy/ | Python | 135 lines
6from pypy.module.cpyext.methodobject import ( 7 W_PyCFunctionObject, PyCFunction_NewEx, PyDescr_NewMethod, 8 PyMethodDef, PyDescr_NewClassMethod, PyStaticMethod_New) 102 elif flags & METH_STATIC: 103 w_func = PyCFunction_NewEx(space, method, None, None) 104 w_obj = PyStaticMethod_New(space, w_func)pyapi.h https://pykd.svn.codeplex.com/svn | C Header | 206 lines
47 48PyObject* __stdcall PyCFunction_NewEx(PyMethodDef *, PyObject *, PyObject *); 49PyObject* __stdcall PyClass_New(PyObject* className, PyObject* classBases, PyObject* classDict);modsupport.c https://github.com/brosner/cleese.git | C | 405 lines
21 for (ml = methods; ml->ml_name != NULL; ml++) { 22 v = PyCFunction_NewEx(ml, passthrough, n); 23 if (v == NULL)pygstexception.c http://ossbuild.googlecode.com/svn/trunk/ | C | 270 lines
72 73 func = PyCFunction_NewEx (method, NULL, module); 74 if (func == NULL)python3.def https://bitbucket.org/arigo/cpython-withatomic/ | Module-Definition | 690 lines
39 PyCFunction_GetSelf=python33.PyCFunction_GetSelf 40 PyCFunction_NewEx=python33.PyCFunction_NewEx 41 PyCFunction_Type=python33.PyCFunction_Type DATAtypeobject.py https://bitbucket.org/alex_gaynor/pypy-postgresql/ | Python | 663 lines
22from pypy.module.cpyext.methodobject import ( 23 PyDescr_NewWrapper, PyCFunction_NewEx, PyCFunction_typedef) 24from pypy.module.cpyext.pyobject import Py_IncRef, Py_DecRef, _Py_Dealloc 220 pyo = rffi.cast(PyObject, pto) 221 dict_w["__new__"] = PyCFunction_NewEx(space, get_new_method_def(space), 222 from_ref(space, pyo), None)typeobject.py https://bitbucket.org/pypy/pypy/ | Python | 912 lines
21from pypy.module.cpyext.methodobject import (W_PyCClassMethodObject, 22 W_PyCWrapperObject, PyCFunction_NewEx, PyCFunction_typedef, PyMethodDef, 23 W_PyCMethodObject, W_PyCFunctionObject)descrobject.c https://bitbucket.org/mirror/cpython/ | C | 1662 lines
117 } 118 return PyCFunction_NewEx(descr->d_method, type, NULL); 119} 127 return res; 128 return PyCFunction_NewEx(descr->d_method, obj, NULL); 129} 241 242 func = PyCFunction_NewEx(descr->d_method, self, NULL); 243 if (func == NULL) 294 295 func = PyCFunction_NewEx(descr->d_method, self, NULL); 296 if (func == NULL)python3.def https://bitbucket.org/mirror/cpython/ | Windows Module Definition | 715 lines
42 PyCFunction_New=python36.PyCFunction_New 43 PyCFunction_NewEx=python36.PyCFunction_NewEx 44 PyCFunction_Type=python36.PyCFunction_Type DATAevent.c https://bitbucket.org/mopemope/tobikko/ | C | 399 lines
346 if(notify_func == NULL){ 347 notify_func = PyCFunction_NewEx(¬ify_func_def, (PyObject *)NULL, NULL); 348 }python_support.c git://pkgs.fedoraproject.org/gnatcoll | C | 491 lines
36PyObject * 37ada_pycfunction_newex (PyMethodDef *ml, PyObject *self, PyObject *module) 38{gnatcoll-python.adb git://pkgs.fedoraproject.org/gnatcoll | Ada | 1133 lines
42 Module : PyObject := null) return PyObject; 43 pragma Import (C, PyCFunction_New, "ada_pycfunction_newex"); 44 -- Create a new callable object, which, when called from python, will callpyclass.h https://pykd.svn.codeplex.com/svn | C Header | 208 lines
127 static PyMethodDef methodDef = { name, Call_##fn::pycall, METH_VARARGS }; \ 128 PyObject* cFuncObj = PyCFunction_NewEx(&methodDef, NULL, NULL); \ 129 PyObject* methodObj = IsPy3() ? PyInstanceMethod_New(cFuncObj) : PyMethod_New(cFuncObj, NULL, classTypeObj); \ 147 static PyMethodDef methodDef = { name, Call_##fn::pycall, METH_VARARGS }; \ 148 PyObject* cFuncObj = PyCFunction_NewEx(&methodDef, NULL, NULL); \ 149 PyObject* methodObj = IsPy3() ? PyInstanceMethod_New(cFuncObj) : PyMethod_New(cFuncObj, NULL, classTypeObj); \ 166 static PyMethodDef methodDef = { name, Call_##fn::pycall, METH_VARARGS }; \ 167 PyObject* cFuncObj = PyCFunction_NewEx(&methodDef, NULL, NULL); \ 168 PyObject* methodObj = IsPy3() ? PyInstanceMethod_New(cFuncObj) : PyMethod_New(cFuncObj, NULL, classTypeObj); \python.def https://github.com/jinjoh/NOOR.git | Module-Definition | 758 lines
22PyCFunction_New 23PyCFunction_NewEx 24PyCFunction_Typetypeobject.py https://github.com/thepian/pypy.git | Python | 613 lines
21from pypy.module.cpyext.methodobject import ( 22 PyDescr_NewWrapper, PyCFunction_NewEx) 23from pypy.module.cpyext.pyobject import Py_IncRef, Py_DecRef, _Py_Dealloc 212 pyo = rffi.cast(PyObject, pto) 213 dict_w["__new__"] = PyCFunction_NewEx(space, get_new_method_def(space), 214 from_ref(space, pyo), None)PyVTKExtras.cxx git://github.com/Kitware/VTK.git | C++ | 154 lines
147 // the module's dict, and it's safe to set it to nullptr. 148 o = PyCFunction_NewEx(meth, nullptr, nullptr); 149 if (o && PyDict_SetItemString(dict, meth->ml_name, o) != 0)modsupport.py https://github.com/thepian/pypy.git | Python | 128 lines
6from pypy.module.cpyext.methodobject import ( 7 W_PyCFunctionObject, PyCFunction_NewEx, PyDescr_NewMethod, 8 PyMethodDef, PyCFunction, PyStaticMethod_New) 96 elif flags & METH_STATIC: 97 w_func = PyCFunction_NewEx(space, method, None, None) 98 w_obj = PyStaticMethod_New(space, w_func)modsupport.py https://bitbucket.org/rokujyouhitoma/pypy/ | Python | 135 lines
6from pypy.module.cpyext.methodobject import ( 7 W_PyCFunctionObject, PyCFunction_NewEx, PyDescr_NewMethod, 8 PyMethodDef, PyStaticMethod_New) 102 elif flags & METH_STATIC: 103 w_func = PyCFunction_NewEx(space, method, None, None) 104 w_obj = PyStaticMethod_New(space, w_func)methodobject.h https://bitbucket.org/pypy/pypy/ | C++ Header | 68 lines
52 53#define PyCFunction_New(ml, self) PyCFunction_NewEx((ml), (self), NULL) 54pythonUiTimer.cpp https://bitbucket.org/itom/itom.git | C++ | 557 lines
120 PyCFunctionObject* cfunc = (PyCFunctionObject*)m_function; 121 PyObject *method = PyCFunction_NewEx(cfunc->m_ml, cfunc->m_self, NULL); 122typeobject.py https://bitbucket.org/squeaky/pypy | Python | 710 lines
19from pypy.module.cpyext.methodobject import ( 20 PyDescr_NewWrapper, PyCFunction_NewEx, PyCFunction_typedef) 21from pypy.module.cpyext.modsupport import convert_method_defs 232 pyo = rffi.cast(PyObject, pto) 233 dict_w["__new__"] = PyCFunction_NewEx(space, get_new_method_def(space), 234 from_ref(space, pyo), None)cfunction.go git://github.com/qur/gopy.git | Go | 171 lines
57 58 ret := C.PyCFunction_NewEx(ml, saveFunc(fn), mod_name) 59 if ret == nil {libpython.symbols.in https://gitlab.com/python27-maemo5/python27-maemo5.git | Autoconf | 1262 lines
49 PyCFunction_New@Base @VER@ 50 PyCFunction_NewEx@Base @VER@ 51 PyCFunction_Type@Base @VER@MethodObjectTest.cc https://github.com/ianloic/unladen-swallow.git | C++ | 52 lines
41 42 // This PyCFunction_NewEx call used to trigger a PyErr_BadInternalCall. 43 PyErr_Clear(); 43 PyErr_Clear(); 44 PyObject *my_function = PyCFunction_NewEx(method_def, self, module); 45 EXPECT_TRUE(my_function != NULL);import-tab.h https://bitbucket.org/briancurtin/py2exe3 | C++ Header | 57 lines
21#define PyObject_SetAttrString ((int(*)(PyObject *, char *, PyObject *))imports[20].proc) 22#define PyCFunction_NewEx ((PyObject *(*)(PyMethodDef *, PyObject *, PyObject *))imports[21].proc) 23#define PyObject_GetAttrString ((PyObject *(*)(PyObject *, char *))imports[22].proc)test_class.cpp https://bitbucket.org/lawa1215/gem5-cache_locking.git | C++ | 357 lines
185 auto def = new PyMethodDef{"f", f, METH_VARARGS, nullptr}; 186 return py::reinterpret_steal<py::object>(PyCFunction_NewEx(def, nullptr, m.ptr())); 187 }());clientmodule.cpp https://github.com/Mutilador/Wolfpack.git | C++ | 190 lines
138 for (ml = &clientMethods[0]; ml->ml_name != NULL; ml++) { 139 PyObject *v = PyCFunction_NewEx(ml, 0, n); 140 if (v == NULL)pygstexception.c https://github.com/zaheerm/gst-python.git | C | 267 lines
71 72 func = PyCFunction_NewEx(method, NULL, module); 73 if (func == NULL)mktab.py https://bitbucket.org/briancurtin/py2exe3 | Python | 103 lines
24int, PyObject_SetAttrString, (PyObject *, char *, PyObject *) 25PyObject *, PyCFunction_NewEx, (PyMethodDef *, PyObject *, PyObject *) 26PyObject *, PyObject_GetAttrString, (PyObject *, char *)import-tab.c https://bitbucket.org/briancurtin/py2exe3 | C | 65 lines
29 { "PyObject_SetAttrString", NULL }, 30 { "PyCFunction_NewEx", NULL }, 31 { "PyObject_GetAttrString", NULL },callback.jl https://gitlab.com/math4youbyusgroupillinois/PyCall.jl.git | Julia | 79 lines
4# desired Julia function/closure, and a top-level C-callable 5# wrapper function used with PyCFunction_NewEx -- the latter 6# is called from Python and calls the former as needed. 16 @eval const $def = PyMethodDef($name, $f, $flags) 17 PyObject(@pycheckn ccall((@pysym :PyCFunction_NewEx), PyPtr, 18 (Ptr{PyMethodDef}, Ptr{Void}, Ptr{Void}),typeobject.py https://bitbucket.org/krono/pypy | Python | 890 lines
21from pypy.module.cpyext.methodobject import (W_PyCClassMethodObject, 22 PyDescr_NewWrapper, PyCFunction_NewEx, PyCFunction_typedef, PyMethodDef, 23 W_PyCMethodObject, W_PyCFunctionObject) 365 pyo = rffi.cast(PyObject, pto) 366 dict_w["__new__"] = PyCFunction_NewEx(space, get_new_method_def(space), 367 from_ref(space, pyo), None)pycrt.def https://github.com/alexeysudachen/python-tool.git | Module-Definition | 842 lines
23 PyCFunction_New 24 PyCFunction_NewEx 25 PyCFunction_TypePython-dynload.h https://bitbucket.org/briancurtin/py2exe3 | C++ Header | 59 lines
48 49#define PyCFunction_New(ML, SELF) PyCFunction_NewEx((ML), (SELF), NULL) 50frozen_main.C https://github.com/alexeysudachen/python-tool.git | C | 228 lines
73DLL_IMPORT extern PyObject *PyDict_GetItemString(PyObject *,char *); 74DLL_IMPORT extern PyObject *PyCFunction_NewEx(PyMethodDef *,void *,PyObject *); 75DLL_IMPORT extern void PyModule_AddObject(PyObject *,char *,PyObject *); 85 builtin = PyDict_GetItemString(PyImport_GetModuleDict(),"__builtin__"); 86 pfunc = PyCFunction_NewEx(ml,0,0); 87 PyModule_AddObject(builtin,ml->ml_name,pfunc);pickle_support.hpp https://github.com/gfrd/egfrd.git | C++ Header | 85 lines
77 }; 78 scope().attr(reconstruct_func_name) = borrowed(PyCFunction_NewEx( 79 &def, NULL, getattr(scope(), "__name__").ptr()));archive_api.html https://gitlab.com/ignition-io/ignition-dev | HTML | 84 lines
61 */ 62 __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_11archive_api_fib, NULL, __pyx_n_s__archive_api);<span class='error_goto'> if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}</span> 63 <span class='pyx_macro_api'><span class='refnanny'>__Pyx_GOTREF</span></span>(__pyx_t_1);exceptions.c https://github.com/xbmc/atv2.git | C | 1859 lines
139 /* get a wrapper for the built-in function */ 140 PyObject *func = PyCFunction_NewEx(methods, NULL, module); 141 PyObject *meth;python32.def https://hg.codeplex.com/klayge | Teamcenter def | 1077 lines
63PyCFunction_New 64PyCFunction_NewEx 65PyCFunction_Type DATAPyROOTPickle.cxx https://bitbucket.org/binet/mana-core-rootutils | C++ | 135 lines
106 PyObject* pymname = PyString_FromString( PyModule_GetName( libpyroot_pymodule ) ); 107 gExpand = PyCFunction_NewEx( &s_pdefExp, NULL, pymname ); 108 Py_DECREF( pymname );typeobject.py https://bitbucket.org/timfel/pypy | Python | 996 lines
22from pypy.module.cpyext.methodobject import (W_PyCClassMethodObject, 23 W_PyCWrapperObject, PyCFunction_NewEx, PyCFunction, PyMethodDef, 24 W_PyCMethodObject, W_PyCFunctionObject)methodobject.h https://github.com/jtauber/cleese.git | C Header | 57 lines
32 33PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *, 34 PyObject *);pullahelpers.html https://bitbucket.org/pailakka/pullautin2.git | HTML | 1460 lines
188 */ 189 __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_12pullahelpers_1interpolate, NULL, __pyx_n_s__pullahelpers);<span class='error_goto'> if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 10; __pyx_clineno = __LINE__; goto __pyx_L1_error;}</span> 190 <span class='pyx_macro_api'><span class='refnanny'>__Pyx_GOTREF</span></span>(__pyx_t_1);ExtensionModule.hxx https://github.com/worldforge/cyphesis.git | C++ Header | 206 lines
141 assert( m_module != nullptr ); 142 PyObject *func = PyCFunction_NewEx 143 (methodobject.d https://bitbucket.org/ariovistus/pyd | D | 145 lines
76/// _ 77PyObject* PyCFunction_NewEx(PyMethodDef*, PyObject*,PyObject*); 78/// _ 79PyObject* PyCFunction_New()(PyMethodDef* ml, PyObject* self) { 80 return PyCFunction_NewEx(ml, self, null); 81}moduleobject.c https://github.com/jcsalterego/py3k-atsign.git | C | 414 lines
132 } 133 v = PyCFunction_NewEx(ml, (PyObject*)m, n); 134 if (v == NULL) {2801.html https://github.com/cocoatomo/Python3.2_C_API_Tutorial.git | HTML | 356 lines
13<ol> 14<li><a href='#L17' title='Defined at 17.'>PyCFunction_NewEx</a> 15<li><a href='#L41' title='Defined at 41.'>PyCFunction_GetFunction</a> 48<a name='L16'><a href='../D/3593.html' title='Multiple defined in 2 places.'>PyObject</a> * 49<a name='L17'><a href='../R/2606.html' title='Multiple refered from 3 places.'>PyCFunction_NewEx</a>(PyMethodDef *ml, PyObject *self, PyObject *module) 50<a name='L18'><font color='red'>{</font>evincemodule.c https://github.com/dieterv/gnome-python-desktop.git | C | 66 lines
60 static PyMethodDef py_atexit_method_def = {NULL, (PyCFunction)_wrap_ev_shutdown, METH_NOARGS, NULL}; 61 PyObject *py_atexit_func = PyCFunction_NewEx(&py_atexit_method_def, NULL, NULL); 62 PyObject *atexit = PyImport_ImportModule("atexit");pystub.cxx https://bitbucket.org/unkier/panda3d | C++ | 305 lines
22 EXPCL_PYSTUB int PyCFunction_New(...); 23 EXPCL_PYSTUB int PyCFunction_NewEx(...); 24 EXPCL_PYSTUB int PyCallable_Check(...); 162int PyCFunction_New(...) { return 0; }; 163int PyCFunction_NewEx(...) { return 0; }; 164int PyCallable_Check(...) { return 0; }modsupport.c https://github.com/jtauber/cleese.git | C | 241 lines
19 for (ml = methods; ml->ml_name != NULL; ml++) { 20 v = PyCFunction_NewEx(ml, passthrough, n); 21 if (v == NULL)ExtensionOldType.hxx https://github.com/worldforge/cyphesis.git | C++ Header | 398 lines
182 183 PyObject *func = PyCFunction_NewEx( &method_def->ext_meth_def, self.ptr(), nullptr ); 184python3.def https://bitbucket.org/cataliniacob/cpython | Teamcenter def | 701 lines
41 PyCFunction_New=python34.PyCFunction_New 42 PyCFunction_NewEx=python34.PyCFunction_NewEx 43 PyCFunction_Type=python34.PyCFunction_Type DATA2606.html https://github.com/cocoatomo/Python3.2_C_API_Tutorial.git | HTML | 14 lines
2<head> 3<title>PyCFunction_NewEx</title> 4<meta name='robots' content='noindex,nofollow'> 8<pre> 9<a href='../S/540.html#L48'>PyCFunction_NewEx</a> 48 Include/methodobject.h #define PyCFunction_New(ML, SELF) PyCFunction_NewEx((ML), (SELF), NULL) 10<a href='../S/2801.html#L317'>PyCFunction_NewEx</a> 317 Objects/methodobject.c return PyCFunction_NewEx(ml, self, NULL); 10<a href='../S/2801.html#L317'>PyCFunction_NewEx</a> 317 Objects/methodobject.c return PyCFunction_NewEx(ml, self, NULL); 11<a href='../S/2802.html#L131'>PyCFunction_NewEx</a> 131 Objects/moduleobject.c v = PyCFunction_NewEx(ml, (PyObject*)m, n); 12</pre>PyVariable.cpp https://github.com/bengioe/PyVariable.git | C++ | 459 lines
118 PyObject* name = PyString_FromString(methd->ml_name); 119 m_obj = PyCFunction_NewEx(methd,NULL,name); 120 Py_DECREF(name); 130 PyObject* name = PyString_FromString(methd->ml_name); 131 m_obj = PyCFunction_NewEx(methd,NULL,name); 132 Py_DECREF(name); 144 PyObject* name = PyString_FromString(methd->ml_name); 145 m_obj = PyCFunction_NewEx(methd,NULL,name); 146 Py_DECREF(name);pmethodobject.c https://github.com/nodebox/nodebox-opengl.git | C | 141 lines
19 /* call PyCFunction_New() */ 20#ifdef PyCFunction_New /* Python >= 2.3 introduced PyCFunction_NewEx() */ 21 newobj = psyco_generic_call(po, PyCFunction_NewEx,methodobject.html https://bitbucket.org/ariovistus/ariovistus.bitbucket.org | HTML | 486 lines
199<dt><span class="decl">PyObject* 200<span class="currsymbol">PyCFunction_NewEx</span> 201<script>explorer.outline.addDecl('PyCFunction_NewEx');</script>(PyMethodDef*, PyObject*, PyObject*);python3.def https://bitbucket.org/jaraco/cpython-issue13540 | Windows Module Definition | 702 lines
41 PyCFunction_New=python35.PyCFunction_New 42 PyCFunction_NewEx=python35.PyCFunction_NewEx 43 PyCFunction_Type=python35.PyCFunction_Type DATAcpython.py https://github.com/albertz/PyCPython.git | Python | 201 lines
99 self.macros["free_list"] = cparser.Macro(rightside="free_list__methodobj") 100 cparser.parse(CPythonDir + "/Objects/methodobject.c", self) # PyCFunction_NewEx 101 # We need these macro hacks because methodobject.c will use the same vars.2716.html https://github.com/cocoatomo/Python3.2_C_API_Tutorial.git | HTML | 56 lines
16<a href='../S/540.html#L23'>PyAPI_FUNC</a> 23 Include/methodobject.h PyAPI_FUNC(PyCFunction) PyCFunction_GetFunction(PyObject *); 17<a href='../S/540.html#L49'>PyAPI_FUNC</a> 49 Include/methodobject.h PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *, 18<a href='../S/542.html#L15'>PyAPI_FUNC</a> 15 Include/moduleobject.h PyAPI_FUNC(PyObject *) PyModule_New(const char *);modsupport.c https://bitbucket.org/karolasty8/cwe | C | 552 lines
79 } 80 v = PyCFunction_NewEx(ml, passthrough, n); 81 if (v == NULL)python3.def https://bitbucket.org/python_mirrors/sandbox-antoine | Windows Module Definition | 700 lines
40 PyCFunction_GetSelf=python34.PyCFunction_GetSelf 41 PyCFunction_NewEx=python34.PyCFunction_NewEx 42 PyCFunction_Type=python34.PyCFunction_Type DATA2860.html https://github.com/cocoatomo/Python3.2_C_API_Tutorial.git | HTML | 13 lines
8<pre> 9<a href='../S/540.html#L48'>PyCFunction_New</a> 48 Include/methodobject.h #define PyCFunction_New(ML, SELF) PyCFunction_NewEx((ML), (SELF), NULL) 10<a href='../S/2801.html#L311'>PyCFunction_New</a> 311 Objects/methodobject.c #undef PyCFunction_Newpypy_decl.h https://github.com/thepian/MeshedBuilder.git | C Header | 535 lines
21PyAPI_FUNC(PyCFunction) PyCFunction_GetFunction(PyObject *arg0); 22PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *arg0, PyObject *arg1, PyObject *arg2); 23PyAPI_FUNC(PyObject *) PyCallIter_New(PyObject *arg0, PyObject *arg1);const-methods.patch https://github.com/gdw2/pycorn.git | Patch | 207 lines
7 8 #define PyCFunction_New(ML, SELF) PyCFunction_NewEx((ML), (SELF), NULL) 9-PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *, 9-PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *, 10+PyAPI_FUNC(PyObject *) PyCFunction_NewEx(const PyMethodDef *, PyObject *, 11 PyObject *); 44 PyObject * 45-PyCFunction_NewEx(PyMethodDef *ml, PyObject *self, PyObject *module) 46+PyCFunction_NewEx(const PyMethodDef *ml, PyObject *self, PyObject *module)