[Python-checkins] r45913 - python/trunk/Modules/_ctypes/_ctypes_test.c

thomas.heller python-checkins at python.org
Fri May 5 20:42:14 CEST 2006


Author: thomas.heller
Date: Fri May  5 20:42:14 2006
New Revision: 45913

Modified:
   python/trunk/Modules/_ctypes/_ctypes_test.c
Log:
Export the 'free' standard C function for use in the test suite.


Modified: python/trunk/Modules/_ctypes/_ctypes_test.c
==============================================================================
--- python/trunk/Modules/_ctypes/_ctypes_test.c	(original)
+++ python/trunk/Modules/_ctypes/_ctypes_test.c	Fri May  5 20:42:14 2006
@@ -96,6 +96,11 @@
 	return dst;
 }
 
+EXPORT(void) free(void *ptr)
+{
+	free(ptr);
+}
+
 #ifdef HAVE_WCHAR_H
 EXPORT(wchar_t *) my_wcsdup(wchar_t *src)
 {


More information about the Python-checkins mailing list