mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-30 03:59:55 +00:00
#2704 newobject after decl does not work (duh)
This commit is contained in:
@@ -204,6 +204,9 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
|
|||||||
%}
|
%}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
%newobject construct_iterator_with_include_exclude;
|
||||||
|
%newobject construct_iterator_with_include_exclude_globalid;
|
||||||
|
%newobject construct_iterator_with_include_exclude_id;
|
||||||
|
|
||||||
// I couldn't get the vector<string> typemap to be applied when %extending Iterator constructor.
|
// I couldn't get the vector<string> typemap to be applied when %extending Iterator constructor.
|
||||||
// anyway it does not matter as SWIG generates C code without actual constructors
|
// anyway it does not matter as SWIG generates C code without actual constructors
|
||||||
@@ -230,10 +233,6 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
|
|||||||
}
|
}
|
||||||
%}
|
%}
|
||||||
|
|
||||||
%newobject construct_iterator_with_include_exclude;
|
|
||||||
%newobject construct_iterator_with_include_exclude_globalid;
|
|
||||||
%newobject construct_iterator_with_include_exclude_id;
|
|
||||||
|
|
||||||
%extend IfcGeom::Representation::Triangulation {
|
%extend IfcGeom::Representation::Triangulation {
|
||||||
%pythoncode %{
|
%pythoncode %{
|
||||||
# Hide the getters with read-only property implementations
|
# Hide the getters with read-only property implementations
|
||||||
|
|||||||
Reference in New Issue
Block a user