From 449be3830599f12a5b965fe44d1c0d661bb424d8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sat, 22 Apr 2006 15:19:54 +0000 Subject: [PATCH] Port to Python 2.5. Drop .DEF file. Change output file names to .pyd. --- PC/example_nt/example.c | 2 +- PC/example_nt/example.def | 2 -- PC/example_nt/example.vcproj | 15 ++++++--------- 3 files changed, 7 insertions(+), 12 deletions(-) delete mode 100644 PC/example_nt/example.def diff --git a/PC/example_nt/example.c b/PC/example_nt/example.c index 63682f11f0..46cb429dae 100644 --- a/PC/example_nt/example.c +++ b/PC/example_nt/example.c @@ -13,7 +13,7 @@ static PyMethodDef example_methods[] = { {NULL, NULL} }; -void +PyMODINIT_FUNC initexample(void) { Py_InitModule("example", example_methods); diff --git a/PC/example_nt/example.def b/PC/example_nt/example.def deleted file mode 100644 index 96b69a52dd..0000000000 --- a/PC/example_nt/example.def +++ /dev/null @@ -1,2 +0,0 @@ -EXPORTS - initexample diff --git a/PC/example_nt/example.vcproj b/PC/example_nt/example.vcproj index 0e6830bd24..7c0d4bb1bc 100644 --- a/PC/example_nt/example.vcproj +++ b/PC/example_nt/example.vcproj @@ -39,12 +39,12 @@ - -