From 784a4bbb707d132b26bcb177521745575dc0823f Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Thu, 4 Aug 2011 16:10:34 -0300 Subject: Implements PSEP-0106 and fixes bug 902 - "Expose Shiboken functionality through a Python module". --- tests/libsample/objecttype.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/libsample/objecttype.cpp') diff --git a/tests/libsample/objecttype.cpp b/tests/libsample/objecttype.cpp index e4fce71e3..c253c610f 100644 --- a/tests/libsample/objecttype.cpp +++ b/tests/libsample/objecttype.cpp @@ -283,3 +283,9 @@ ObjectType* ObjectType::createChild(ObjectType* parent) { return new ObjectType(parent); } + +std::size_t ObjectType::createObjectType() +{ + void* addr = new ObjectType(); + return (std::size_t) addr; +} -- cgit v1.2.3