mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-05 00:09:32 -04:00
QgsSipUtils.isPyOwned will return True if an object is owned by python, or False if ownership is held by another object or c++ class. This gives a way to test in advance if we can safely assign an object to a method which takes ownership (which always results in a crash).