[Python-checkins] python/dist/src/Include cobject.h,2.11,2.12

loewis at users.sourceforge.net loewis at users.sourceforge.net
Sun Oct 19 14:30:03 EDT 2003


Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1:/tmp/cvs-serv29267/Include

Modified Files:
	cobject.h 
Log Message:
Make CObjects mutable. Fixes #477441.


Index: cobject.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/cobject.h,v
retrieving revision 2.11
retrieving revision 2.12
diff -C2 -d -r2.11 -r2.12
*** cobject.h	12 Aug 2002 07:21:56 -0000	2.11
--- cobject.h	19 Oct 2003 18:30:00 -0000	2.12
***************
*** 46,49 ****
--- 46,52 ----
  PyAPI_FUNC(void *) PyCObject_Import(char *module_name, char *cobject_name);
  
+ /* Modify a C object. Fails (==0) if object has a destructor. */
+ PyAPI_FUNC(int) PyCObject_SetVoidPtr(PyObject *self, void *cobj);
+ 
  #ifdef __cplusplus
  }





More information about the Python-checkins mailing list