From 6c171ca9e4335c2c90d84751c2d66f9da12179ef Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Fri, 24 Jul 2026 18:00:54 +0500 Subject: [PATCH] ifcwrap: fix breaking validate_stub (824c1fc) It's ignoring underscore prefixed functions as not actually used. Removing underscore to keep it happy without adding new exceptions. (cherry picked from commit 88c8bd032ff6db9eb3a37818781135bac4c09261) --- src/ifcwrap/IfcGeomWrapper.i | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ifcwrap/IfcGeomWrapper.i b/src/ifcwrap/IfcGeomWrapper.i index 8c619fb91e..962f06b5aa 100644 --- a/src/ifcwrap/IfcGeomWrapper.i +++ b/src/ifcwrap/IfcGeomWrapper.i @@ -889,11 +889,11 @@ struct ShapeRTTI : public boost::static_visitor %pythoncode %{ # Hide the getters with read-only property implementations # Keep the owning element alive while its geometry is referenced (#1124). - def _geometry_with_backref(self, _f=geometry): + def geometry_with_backref(self, _f=geometry): result = _f(self) result._parent = self return result - geometry = property(_geometry_with_backref) + geometry = property(geometry_with_backref) %} }; @@ -901,11 +901,11 @@ struct ShapeRTTI : public boost::static_visitor %pythoncode %{ # Hide the getters with read-only property implementations # Keep the owning element alive while its geometry is referenced (#1124). - def _geometry_with_backref(self, _f=geometry): + def geometry_with_backref(self, _f=geometry): result = _f(self) result._parent = self return result - geometry = property(_geometry_with_backref) + geometry = property(geometry_with_backref) %} }; @@ -931,11 +931,11 @@ struct ShapeRTTI : public boost::static_visitor %pythoncode %{ # Hide the getters with read-only property implementations # Keep the owning element alive while its geometry is referenced (#1124). - def _geometry_with_backref(self, _f=geometry): + def geometry_with_backref(self, _f=geometry): result = _f(self) result._parent = self return result - geometry = property(_geometry_with_backref) + geometry = property(geometry_with_backref) volume = property(calc_volume_) surface_area = property(calc_surface_area_) %}