From 88c8bd032ff6db9eb3a37818781135bac4c09261 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. --- 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 b6dffb3b6e..4cef5f9b23 100644 --- a/src/ifcwrap/IfcGeomWrapper.i +++ b/src/ifcwrap/IfcGeomWrapper.i @@ -794,11 +794,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) %} }; @@ -806,11 +806,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) %} }; @@ -836,11 +836,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_) %}