diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-03-29 17:32:27 -0300 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-03-30 17:41:39 -0300 |
commit | ddd02b6aaf1de46005f7387d5f64f4edde6af7d8 (patch) | |
tree | e250195cfb16a3671d1298b4e1039ec3e1fb9182 /libshiboken/basewrapper.h | |
parent | d3b8a53760ba7c768aaeb547ea541f0806e6e999 (diff) |
SbkBaseWrapper_New gets a non-const void pointer instead of a const one.
The motivation is simple, we will change this pointer a lot, so it must not be const.
Diffstat (limited to 'libshiboken/basewrapper.h')
-rw-r--r-- | libshiboken/basewrapper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libshiboken/basewrapper.h b/libshiboken/basewrapper.h index 97ce8f10b..f192928a6 100644 --- a/libshiboken/basewrapper.h +++ b/libshiboken/basewrapper.h @@ -239,7 +239,7 @@ typedef struct { LIBSHIBOKEN_API PyAPI_FUNC(PyObject*) SbkBaseWrapper_New(SbkBaseWrapperType* instanceType, - const void* cptr, + void* cptr, bool hasOwnership = true, bool isExactType = false); |