diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-03-31 16:25:20 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-04-05 18:39:45 -0300 |
commit | 9a5e72d08f908183d7bf8abcb3546cf509f9362d (patch) | |
tree | c9dea886165be863fc11d9a5ccf4c7254139b263 /libshiboken/basewrapper.cpp | |
parent | c6d32c0339749257ac1b97a48f3c8fdd6f10e50c (diff) |
Added flag is_user_type to identify types created by the user which inherits binded types
from binded types.
Diffstat (limited to 'libshiboken/basewrapper.cpp')
-rw-r--r-- | libshiboken/basewrapper.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libshiboken/basewrapper.cpp b/libshiboken/basewrapper.cpp index a49ec0df4..36e14b10f 100644 --- a/libshiboken/basewrapper.cpp +++ b/libshiboken/basewrapper.cpp @@ -362,6 +362,7 @@ SbkBaseWrapperType_TpNew(PyTypeObject* metatype, PyObject* args, PyObject* kwds) newType->cpp_dtor = 0; newType->is_multicpp = 1; } + newType->is_user_type = 1; return reinterpret_cast<PyObject*>(newType); } |