mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 18:16:40 +00:00
Fix #233
This commit is contained in:
@@ -50,6 +50,11 @@
|
||||
%include "std_string.i"
|
||||
%include "exception.i"
|
||||
|
||||
// General python-specific rename rules for comparison operators.
|
||||
// Mostly to silence warnings, but might be of use some time.
|
||||
%rename("__eq__") operator ==;
|
||||
%rename("__lt__") operator <;
|
||||
|
||||
%exception {
|
||||
try {
|
||||
$action
|
||||
|
||||
Reference in New Issue
Block a user