From 0fea2dd2b5c5be22fa0004b5fbe82be12a787489 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sat, 9 Apr 2011 23:52:03 +0000 Subject: [PATCH] Revert non-cosmetic change from previous checkin git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12623 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/python/builtin.swg | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Lib/python/builtin.swg b/Lib/python/builtin.swg index 8852832d1..17e9b92a4 100644 --- a/Lib/python/builtin.swg +++ b/Lib/python/builtin.swg @@ -188,10 +188,6 @@ wrapper##_closure(PyObject *a) { \ return result; \ } -#ifdef __cplusplus -extern "C" { -#endif - SWIGINTERN int SwigPyBuiltin_BadInit(PyObject *self, PyObject *SWIGUNUSEDPARM(args), PyObject *SWIGUNUSEDPARM(kwds)) { PyErr_Format(PyExc_TypeError, "Cannot create new instances of type '%.300s'", self->ob_type->tp_name); @@ -476,6 +472,3 @@ SwigPyBuiltin_SetMetaType (PyTypeObject *type, PyTypeObject *metatype) #endif } -#ifdef __cplusplus -} -#endif