diff options
Diffstat (limited to 'sources/shiboken2/doc/typesystem_specifying_types.rst')
-rw-r--r-- | sources/shiboken2/doc/typesystem_specifying_types.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sources/shiboken2/doc/typesystem_specifying_types.rst b/sources/shiboken2/doc/typesystem_specifying_types.rst index 27267faab..221519541 100644 --- a/sources/shiboken2/doc/typesystem_specifying_types.rst +++ b/sources/shiboken2/doc/typesystem_specifying_types.rst @@ -155,6 +155,7 @@ namespace-type <namespace-type name="..." visible="true | auto | false" generate="yes | no" + generate-using="yes | no" package="..." since="..." revision="..." /> @@ -173,6 +174,13 @@ namespace-type The *optional* **generate** is a legacy attribute. Specifying **no** is equivalent to **visible="false"**. + The *optional* **generate-using** attribute specifies whether + ``using namespace`` is generated into the wrapper code for classes within + the namespace (default: **yes**). This ensures for example that not fully + qualified enumeration values of default argument values compile. + However, in rare cases, it might cause ambiguities and can then be turned + off. + The **package** attribute can be used to override the package of the type system. The *optional* **since** value is used to specify the API version of this type. |