mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 02:47:48 +00:00
Add buffer (bytestring) accessors to geometry data
This commit is contained in:
@@ -146,3 +146,7 @@ CREATE_VECTOR_TYPEMAP_OUT(IfcParse::attribute const *)
|
||||
CREATE_VECTOR_TYPEMAP_OUT(IfcParse::inverse_attribute const *)
|
||||
CREATE_VECTOR_TYPEMAP_OUT(IfcParse::entity const *)
|
||||
CREATE_VECTOR_TYPEMAP_OUT(IfcParse::declaration const *)
|
||||
|
||||
%typemap(out) std::pair<const char*, size_t> {
|
||||
$result = PyBytes_FromStringAndSize($1.first, $1.second);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user