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