From 4386afd1346b7e9892356cf12e5a5c02d16cd7a9 Mon Sep 17 00:00:00 2001 From: David Rose Date: Sat, 4 Sep 2004 00:24:19 +0000 Subject: [PATCH] quote c --- direct/src/heapq/heapq.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/direct/src/heapq/heapq.cxx b/direct/src/heapq/heapq.cxx index 51608e7b52..7a133e4ccc 100755 --- a/direct/src/heapq/heapq.cxx +++ b/direct/src/heapq/heapq.cxx @@ -18,9 +18,9 @@ static int _siftdown(PyObject *list, int startpos, int pos); static int _siftup(PyObject *list, int pos); #ifdef _WIN32 -extern __declspec(dllexport) void initlibheapq(void); +extern "C" __declspec(dllexport) void initlibheapq(void); #else -extern void initlibheapq(); +extern "C" void initlibheapq(); #endif static PyObject *