Map empty aggregate to empty tuple in python

This commit is contained in:
Thomas Krijnen
2019-04-03 14:40:09 +02:00
parent 45c3c27fb5
commit 1314209a89
+3
View File
@@ -98,6 +98,9 @@
IfcEntityListList::ptr v = arg;
$result = pythonize(v);
break; }
case IfcUtil::Argument_EMPTY_AGGREGATE: {
$result = PyTuple_New(0);
break; }
case IfcUtil::Argument_UNKNOWN:
default:
SWIG_exception(SWIG_RuntimeError,"Unknown attribute type");