Skip to content

Instantly share code, notes, and snippets.

@yamahigashi
Last active July 1, 2016 08:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yamahigashi/f2374c3b6f29f11852c2e7d55cf89f6f to your computer and use it in GitHub Desktop.
Save yamahigashi/f2374c3b6f29f11852c2e7d55cf89f6f to your computer and use it in GitHub Desktop.
--- C:/Qt/pyside-setup/PySide-1.2.4/sources/shiboken/shibokenmodule/typesystem_shiboken.xml.ori Fri Jul 01 17:40:27 2016
+++ C:/Qt/pyside-setup/PySide-1.2.4/sources/shiboken/shibokenmodule/typesystem_shiboken.xml Fri Jul 01 14:01:06 2016
@@ -3,7 +3,7 @@
<custom-type name="PyObject" />
<custom-type name="PyType" />
<primitive-type name="bool" />
- <primitive-type name="unsigned long" />
+ <primitive-type name="size_t" />
<add-function signature="isValid(PyObject*)" return-type="bool">
<inject-code>
bool isValid = Shiboken::Object::isValid(%1, false);
@@ -17,7 +17,7 @@
</inject-code>
</add-function>
- <add-function signature="wrapInstance(unsigned long, PyType)" return-type="PyObject*">
+ <add-function signature="wrapInstance(size_t, PyType)" return-type="PyObject*">
<inject-code>
if (Shiboken::ObjectType::checkType((PyTypeObject*)%2))
%PYARG_0 = Shiboken::Object::newObject((SbkObjectType*)%2, (void*)%1, false, true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment