From a5d45ae01f0077f61a70ffb50fc72d854d7cb471 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Sun, 4 Dec 2005 05:07:57 +0000 Subject: [PATCH] try to fix borland error git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7923 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/python/pyinit.swg | 2 +- Lib/python/pyrun.swg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/python/pyinit.swg b/Lib/python/pyinit.swg index 659ff300c..fbd058441 100644 --- a/Lib/python/pyinit.swg +++ b/Lib/python/pyinit.swg @@ -93,7 +93,7 @@ swig_varlink_type(void) { ; static int type_init = 0; if (!type_init) { - PyTypeObject tmp + const PyTypeObject tmp #endif = { PyObject_HEAD_INIT(&PyType_Type) diff --git a/Lib/python/pyrun.swg b/Lib/python/pyrun.swg index 881784cf1..74a3dbe48 100644 --- a/Lib/python/pyrun.swg +++ b/Lib/python/pyrun.swg @@ -370,7 +370,7 @@ PySwigObject_type(void) { ; static int type_init = 0; if (!type_init) { - PyTypeObject tmp + const PyTypeObject tmp #endif = { PyObject_HEAD_INIT(&PyType_Type)