minor ruby cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11938 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7ed1528349
commit
780e71e509
1 changed files with 2 additions and 2 deletions
|
|
@ -2621,7 +2621,7 @@ public:
|
|||
Swig_restore(n);
|
||||
|
||||
/* Done */
|
||||
Swig_name_unregister((const_String_or_char_ptr ) "construct");
|
||||
Swig_name_unregister("construct");
|
||||
current = NO_CPP;
|
||||
klass->constructor_defined = 1;
|
||||
return SWIG_OK;
|
||||
|
|
@ -2635,7 +2635,7 @@ public:
|
|||
|
||||
/* First wrap the allocate method */
|
||||
current = CONSTRUCTOR_ALLOCATE;
|
||||
Swig_name_register("construct", "%n%n%c_allocate");
|
||||
Swig_name_register("construct", "%n%c_allocate");
|
||||
|
||||
return Language::copyconstructorHandler(n);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue