minor cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8789 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a4e6310345
commit
358c35bf35
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue