From 4e17f2620f10677e09b9cb93c7ba8efa703b158b Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Fri, 16 Sep 2011 14:29:25 -0300 Subject: Revert "Implements PSEP-0106 and fixes bug 902 - "Expose Shiboken functionality through a Python module"." This reverts commit bc8448d7fb91733ff08c2a6a3a878702c14a24e0. The PSEP didn't reach the final version yet, so this commit can't be released. --- tests/libsample/objecttype.cpp | 6 ------ tests/libsample/objecttype.h | 1 - 2 files changed, 7 deletions(-) (limited to 'tests/libsample') diff --git a/tests/libsample/objecttype.cpp b/tests/libsample/objecttype.cpp index c253c610f..e4fce71e3 100644 --- a/tests/libsample/objecttype.cpp +++ b/tests/libsample/objecttype.cpp @@ -283,9 +283,3 @@ ObjectType* ObjectType::createChild(ObjectType* parent) { return new ObjectType(parent); } - -std::size_t ObjectType::createObjectType() -{ - void* addr = new ObjectType(); - return (std::size_t) addr; -} diff --git a/tests/libsample/objecttype.h b/tests/libsample/objecttype.h index 84812a8d6..f032a09f8 100644 --- a/tests/libsample/objecttype.h +++ b/tests/libsample/objecttype.h @@ -106,7 +106,6 @@ public: virtual bool isPython() { return false; } void callVirtualCreateChild(); virtual ObjectType* createChild(ObjectType* parent); - static std::size_t createObjectType(); //return a parent from C++ ObjectType* getCppParent() { -- cgit v1.2.3