PySide Binding Generation Tutorial: Module 3 Creating Type System Description: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Convert ExpressionEngine links)
(Decode HTML entity names)
Line 16: Line 16:
<typesystem package="foo">
<typesystem package="foo">
  <load-typesystem name="typesystem_core.xml" generate="no" />
  <load-typesystem name="typesystem_core.xml" generate="no" />
  <object-type name="Math" /&amp;amp;gt;
  <object-type name="Math" />
</typesystem>
</typesystem>
</code>
</code>

Revision as of 17:29, 12 March 2015

This article may require cleanup to meet the Qt Wiki's quality standards. Reason: Auto-imported from ExpressionEngine.
Please improve this article if you can. Remove the {{cleanup}} tag and add this page to Updated pages list after it's clean.

[toc align_right="yes" depth="3"]

English French

Creating the Type System Description

The type system is a specification that maps a C++ based library onto a corresponding Python module. The specification is a handwritten XML document listing the types that will be available in the generated binding, modifications to classes and function signatures to better suit the target language, and listing the components that should be rejected for the binding.

<?xml version="1.0"?>
<typesystem package="foo">
 <load-typesystem name="typesystem_core.xml" generate="no" />
 <object-type name="Math" />
</typesystem>