diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-08-04 16:10:34 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:17:13 -0300 |
commit | 784a4bbb707d132b26bcb177521745575dc0823f (patch) | |
tree | f637ef4134445b1cfdd0c33878b7a1ce46f02145 /tests/libsample/objecttype.cpp | |
parent | 8b1ddcd3ef711bab70bb7cdebc26558a26f42df9 (diff) |
Implements PSEP-0106 and fixes bug 902 - "Expose Shiboken functionality through a Python module".
Diffstat (limited to 'tests/libsample/objecttype.cpp')
-rw-r--r-- | tests/libsample/objecttype.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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; +} |