-
Notifications
You must be signed in to change notification settings - Fork 222
Open
Description
Enhancement Request
While working on:
I realized we have missing typemaps for std::string_view in Utilities, for getSharedModulePrefix() for eg
This is also the same thing for Python mind you.
In [1]: import openstudio
ope
In [2]: openstudio.getSharedModulePrefix()
Out[2]: <Swig Object of type 'std::string_view *' at 0x7664d3189d40>
In [3]: print(openstudio.getSharedModulePrefix())
<Swig Object of type 'std::string_view *' at 0x7664ba3ccd50>
swig/python detected a memory leak of type 'std::string_view *', no destructor found.
Detailed Description
Swig 4.2.0 added a std_string_view.i (which is NOT in stl.i by default I think).
Possible Implementation
I am diffing the conan-center-index recipe that is currently used upstream with the custom one I used to upload to NREL's artifactory, and I'm not seeing minimal diffs, so there's a good chance it'll work right out of the box.
Reactions are currently unavailable