diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-11-10 16:35:00 -0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:08:58 -0300 |
commit | f532843860e96af7f3ce3088ff3ac8ea944d8097 (patch) | |
tree | 664415599e97c5ae961ea24197af7b742a68a067 /libshiboken/basewrapper.cpp | |
parent | f06b9117b6f57419409ca67437166941cda306cd (diff) |
Added Shiboken::Wrapper::hasOwnership function.
Diffstat (limited to 'libshiboken/basewrapper.cpp')
-rw-r--r-- | libshiboken/basewrapper.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libshiboken/basewrapper.cpp b/libshiboken/basewrapper.cpp index fd9d8deca..0214998a7 100644 --- a/libshiboken/basewrapper.cpp +++ b/libshiboken/basewrapper.cpp @@ -641,6 +641,11 @@ bool hasCppWrapper(SbkObject* pyObj) return pyObj->d->containsCppWrapper; } +bool hasOwnership(SbkObject* pyObj) +{ + return pyObj->d->hasOwnership; +} + void getOwnership(SbkObject* pyObj) { pyObj->d->hasOwnership = true; |