[ctypes-commit] ctypes/source _ctypes.c,1.226.2.42,1.226.2.43
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2006-01-04 18:28:34
|
Update of /cvsroot/ctypes/ctypes/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21668 Modified Files: Tag: branch_1_0 _ctypes.c Log Message: Remove unused static function. Index: _ctypes.c =================================================================== RCS file: /cvsroot/ctypes/ctypes/source/_ctypes.c,v retrieving revision 1.226.2.42 retrieving revision 1.226.2.43 diff -C2 -d -r1.226.2.42 -r1.226.2.43 *** _ctypes.c 4 Jan 2006 18:15:36 -0000 1.226.2.42 --- _ctypes.c 4 Jan 2006 18:28:26 -0000 1.226.2.43 *************** *** 2911,2931 **** */ /* - XXX BUG: [in, out] parameters MUST be returned as-is. - */ - static PyObject * - _get_one(PyObject *obj) - { - if (PyCArg_CheckExact(obj)) { - PyCArgObject *arg = (PyCArgObject *)obj; - obj = arg->obj; - } - /* - __ctypes_from_outparam__ lets of specify how 'out' parameters are retrieved - from COM method class. - */ - return PyObject_CallMethod(obj, "__ctypes_from_outparam__", NULL); - } - - /* Build return value of a function. --- 2911,2914 ---- |