Author: thomas.heller
Date: Wed Jul 11 11:41:04 2007
New Revision: 56253

Modified:
   python/branches/py3k-struni/Modules/_ctypes/_ctypes_test.c
Log:
Make _ctypes_test.c compile on Windows.

Modified: python/branches/py3k-struni/Modules/_ctypes/_ctypes_test.c
==============================================================================
--- python/branches/py3k-struni/Modules/_ctypes/_ctypes_test.c  (original)
+++ python/branches/py3k-struni/Modules/_ctypes/_ctypes_test.c  Wed Jul 11 
11:41:04 2007
@@ -333,7 +333,7 @@
        short M: 1, N: 2, O: 3, P: 4, Q: 5, R: 6, S: 7;
 };
 
-PyAPI_FUNC(void) set_bitfields(struct BITS *bits, char name, int value)
+EXPORT(void) set_bitfields(struct BITS *bits, char name, int value)
 {
        switch (name) {
        case 'A': bits->A = value; break;
@@ -356,7 +356,7 @@
        }
 }
 
-PyAPI_FUNC(int) unpack_bitfields(struct BITS *bits, char name)
+EXPORT(int) unpack_bitfields(struct BITS *bits, char name)
 {
        switch (name) {
        case 'A': return bits->A;
_______________________________________________
Python-3000-checkins mailing list
Python-3000-checkins@python.org
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to