--- a/src/raytracermodule.cc Mon May 19 22:59:04 2008 +0200 +++ b/src/raytracermodule.cc Sun May 31 16:53:05 2009 +0200 @@ -1645,7 +1645,7 @@ }; -extern "C" void initpyrit(void) +PyMODINIT_FUNC initpyrit(void) { PyObject* m;