From 543fb35cca90b94f6d841a7081bb918eb6eb7c84 Mon Sep 17 00:00:00 2001 From: Mark Hammond Date: Wed, 31 Jul 2002 06:17:46 +0000 Subject: Replace DL_EXPORT with PyMODINIT_FUNC --- Doc/ext/noddy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/ext/noddy.c b/Doc/ext/noddy.c index 933ee1b..23f26ef 100644 --- a/Doc/ext/noddy.c +++ b/Doc/ext/noddy.c @@ -54,7 +54,7 @@ static PyMethodDef noddy_methods[] = { {NULL} /* Sentinel */ }; -DL_EXPORT(void) +PyMODINIT_FUNC initnoddy(void) { noddy_NoddyType.ob_type = &PyType_Type; -- cgit v0.12