summaryrefslogtreecommitdiffstats
path: root/libshiboken/typeresolver.h
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.lima@openbossa.org>2010-06-09 16:43:24 -0300
committerHugo Parente Lima <hugo.lima@openbossa.org>2010-06-10 15:33:42 -0300
commitd1ec4ab5b10d8d2ef125af08bccf467076791815 (patch)
tree7205e406a614cb4d9c38e93e3a180ae0e4e40c58 /libshiboken/typeresolver.h
parent4e58a45ea523118bef5e746edb7383c799d65a27 (diff)
downloadshiboken-d1ec4ab5b10d8d2ef125af08bccf467076791815.tar.gz
shiboken-d1ec4ab5b10d8d2ef125af08bccf467076791815.tar.xz
shiboken-d1ec4ab5b10d8d2ef125af08bccf467076791815.zip
Automatically register all primitive types on TypeResover.
Reviewer: Renato Ara├║jo <renato.araujo@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'libshiboken/typeresolver.h')
-rw-r--r--libshiboken/typeresolver.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libshiboken/typeresolver.h b/libshiboken/typeresolver.h
index 0a23634c..1f4c4642 100644
--- a/libshiboken/typeresolver.h
+++ b/libshiboken/typeresolver.h
@@ -68,6 +68,12 @@ inline PyObject* objectTypeToPython(void* cptr)
return Shiboken::Converter<T*>::toPython(*reinterpret_cast<T**>(cptr));
}
+/**
+* \internal This function is not part of the public API.
+* Initialize the TypeResource internal cache.
+*/
+void initTypeResolver();
+
class LIBSHIBOKEN_API TypeResolver
{
public: