summaryrefslogtreecommitdiffstats
path: root/libshiboken/basewrapper.cpp
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-12-01 21:16:40 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-12-02 17:26:02 -0200
commita5146ad246af19703671451451564e613e509463 (patch)
tree9b83014e1bac8a285ba555b5db8fbf1427edd426 /libshiboken/basewrapper.cpp
parent4954a2e8c95df27168b65519a8b61ce30b8ab0d6 (diff)
downloadshiboken-a5146ad246af19703671451451564e613e509463.tar.gz
shiboken-a5146ad246af19703671451451564e613e509463.tar.xz
shiboken-a5146ad246af19703671451451564e613e509463.zip
Remove cpp object copier as it was used by anyone and nobody missed him.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
Diffstat (limited to 'libshiboken/basewrapper.cpp')
-rw-r--r--libshiboken/basewrapper.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/libshiboken/basewrapper.cpp b/libshiboken/basewrapper.cpp
index eb01116c..09c47bda 100644
--- a/libshiboken/basewrapper.cpp
+++ b/libshiboken/basewrapper.cpp
@@ -218,7 +218,6 @@ PyObject* SbkObjectTypeTpNew(PyTypeObject* metatype, PyObject* args, PyObject* k
d->ext_isconvertible = parentType->ext_isconvertible;
d->ext_tocpp = parentType->ext_tocpp;
d->type_discovery = parentType->type_discovery;
- d->obj_copier = parentType->obj_copier;
d->cpp_dtor = parentType->cpp_dtor;
d->is_multicpp = 0;
} else {
@@ -228,7 +227,6 @@ PyObject* SbkObjectTypeTpNew(PyTypeObject* metatype, PyObject* args, PyObject* k
d->ext_isconvertible = 0;
d->ext_tocpp = 0;
d->type_discovery = 0;
- d->obj_copier = 0;
d->cpp_dtor = 0;
d->is_multicpp = 1;
}
@@ -460,16 +458,6 @@ bool canCallConstructor(PyTypeObject* myType, PyTypeObject* ctorType)
return true;
}
-void* copy(SbkObjectType* self, const void* obj)
-{
- return self->d->obj_copier(obj);
-}
-
-void setCopyFunction(SbkObjectType* self, ObjectCopierFunction func)
-{
- self->d->obj_copier = func;
-}
-
bool hasExternalCppConversions(SbkObjectType* self)
{
return self->d->ext_tocpp;