minor cosmetics

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8789 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-02-11 08:09:17 +00:00
commit 358c35bf35

View file

@ -2636,7 +2636,7 @@ public:
SwigType *ct = NewStringf("p.%s", real_classname);
SwigType_remember(ct);
Printv(f_wrappers,
"SWIGINTERN PyObject * ", class_name, "_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {\n", NIL);
"SWIGINTERN PyObject *", class_name, "_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {\n", NIL);
Printv(f_wrappers, tab4, "PyObject *obj;\n", NIL);
if (modernargs) {
if (fastunpack) {
@ -2651,7 +2651,7 @@ public:
Printv(f_wrappers,
tab4, "SWIG_TypeNewClientData(SWIGTYPE", SwigType_manglestr(ct),", SWIG_NewClientData(obj));\n",
tab4, "return SWIG_Py_Void();\n",
"}\n",NIL);
"}\n\n",NIL);
String *cname = NewStringf("%s_swigregister", class_name);
add_method(cname, cname, 0);
Delete(cname);