aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/shibokenmodule/typesystem_shiboken.xml
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/shibokenmodule/typesystem_shiboken.xml')
-rw-r--r--sources/shiboken2/shibokenmodule/typesystem_shiboken.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/sources/shiboken2/shibokenmodule/typesystem_shiboken.xml b/sources/shiboken2/shibokenmodule/typesystem_shiboken.xml
index bdb0c9338..3eba557fb 100644
--- a/sources/shiboken2/shibokenmodule/typesystem_shiboken.xml
+++ b/sources/shiboken2/shibokenmodule/typesystem_shiboken.xml
@@ -103,6 +103,12 @@
</inject-code>
</add-function>
+ <add-function signature="_unpickle_enum(PyObject*, PyObject*)" return-type="PyObject*">
+ <inject-code>
+ %PYARG_0 = Shiboken::Enum::unpickleEnum(%1, %2);
+ </inject-code>
+ </add-function>
+
<extra-includes>
<include file-name="sbkversion.h" location="local"/>
<include file-name="voidptr.h" location="local"/>