mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-10 06:00:51 +00:00
Add buffer (bytestring) accessors to geometry data
This commit is contained in:
@@ -157,3 +157,7 @@ CREATE_VECTOR_TYPEMAP_OUT(IfcGeom::ConversionResultShape *)
|
||||
pythonizing_visitor vis;
|
||||
$result = $1.apply_visitor(vis);
|
||||
}
|
||||
|
||||
%typemap(out) std::pair<const char*, size_t> {
|
||||
$result = PyBytes_FromStringAndSize($1.first, $1.second);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user