[Python-checkins] r42188 - python/branches/release24-maint/Include/objimpl.h

barry.warsaw python-checkins at python.org
Thu Jan 26 19:50:03 CET 2006


Author: barry.warsaw
Date: Thu Jan 26 19:49:57 2006
New Revision: 42188

Modified:
   python/branches/release24-maint/Include/objimpl.h
Log:
Fix PyGC_Collect() to be exported from the built DLL on Windows.  (Fix given
by Matt Messier).


Modified: python/branches/release24-maint/Include/objimpl.h
==============================================================================
--- python/branches/release24-maint/Include/objimpl.h	(original)
+++ python/branches/release24-maint/Include/objimpl.h	Thu Jan 26 19:49:57 2006
@@ -229,7 +229,7 @@
  */
 
 /* C equivalent of gc.collect(). */
-long PyGC_Collect(void);
+PyAPI_FUNC(long) PyGC_Collect(void);
 
 /* Test if a type has a GC head */
 #define PyType_IS_GC(t) PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)


More information about the Python-checkins mailing list