diff options
author | Renato Filho <renato.filho@openbossa.org> | 2010-05-10 13:41:56 -0300 |
---|---|---|
committer | Renato Filho <renato.filho@openbossa.org> | 2010-05-10 17:30:07 -0300 |
commit | 4452d5dbaa089ad8bf9ae169d6d7579a04215161 (patch) | |
tree | e4014e834dc31c298729c40b462227aee053f0f3 /libpyside/dynamicqmetaobject.h | |
parent | e58db20b0fe32beb87365e74cf29fc45bb8ce603 (diff) |
Created test to static metaobject.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'libpyside/dynamicqmetaobject.h')
-rw-r--r-- | libpyside/dynamicqmetaobject.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libpyside/dynamicqmetaobject.h b/libpyside/dynamicqmetaobject.h index 557ebe146..d6f6e9be5 100644 --- a/libpyside/dynamicqmetaobject.h +++ b/libpyside/dynamicqmetaobject.h @@ -65,5 +65,10 @@ private: void updateMetaObject(); }; +PYSIDE_API inline void deleteDynamicQMetaObject(void* data) +{ + delete reinterpret_cast<DynamicQMetaObject*>(data); +} + } #endif |