File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,13 +32,13 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
3232typedef struct {
3333 PyObject_HEAD
3434 void * cobject ;
35- void (* destructor )( void * );
35+ void (* destructor ) Py_PROTO (( void * ) );
3636} PyCObject ;
3737
3838PyObject *
3939PyCObject_FromVoidPtr (cobj , destr )
4040 void * cobj ;
41- void (* destr )( void * );
41+ void (* destr ) Py_PROTO (( void * ) );
4242{
4343 PyCObject * self ;
4444
@@ -66,12 +66,12 @@ PyCObject_dealloc(self)
6666}
6767
6868static char PyCObject_Type__doc__ [] =
69- "C objects to be exported from one extension module to another\n"
70- "\n"
71- " C objects are used for communication between extension modules. They\n"
72- " provide a way for an extension module to export a C interface to other\n"
73- " extension modules, so that extension modules can use the Python import\n"
74- " mechanism to link to one another.\n"
69+ "C objects to be exported from one extension module to another\n\
70+ \n\
71+ C objects are used for communication between extension modules. They\n\
72+ provide a way for an extension module to export a C interface to other\n\
73+ extension modules, so that extension modules can use the Python import\n\
74+ mechanism to link to one another.\n"
7575;
7676
7777PyTypeObject PyCObject_Type = {
You can’t perform that action at this time.
0 commit comments