readd %factory for create method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9015 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c23664ff97
commit
ebe83b2e9e
1 changed files with 1 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
|||
%newobject Geometry::create;
|
||||
|
||||
%newobject Geometry::clone;
|
||||
%factory(Geometry *Geometry::create, Point, Circle);
|
||||
%factory(Geometry *Geometry::clone, Point, Circle);
|
||||
%factory(Geometry *Point::clone, Point, Circle);
|
||||
%factory(Geometry *Circle::clone, Point, Circle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue