[Perl] Don't specify Perl prototype "()" for a constructor with a
different name to the class, as such constructors can still take parameters. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11397 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
58088c7aab
commit
c1399658ff
2 changed files with 6 additions and 1 deletions
|
|
@ -1511,7 +1511,7 @@ public:
|
|||
Printf(pcode, "sub new {\n");
|
||||
} else {
|
||||
/* Constructor doesn't match classname so we'll just use the normal name */
|
||||
Printv(pcode, "sub ", Swig_name_construct(symname), " () {\n", NIL);
|
||||
Printv(pcode, "sub ", Swig_name_construct(symname), " {\n", NIL);
|
||||
}
|
||||
|
||||
Printv(pcode,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue