diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-11-30 18:39:25 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-12-07 12:31:15 +0000 |
commit | ed87e710dd14bc9612dcfdba2e09143201768556 (patch) | |
tree | 0c7dd4b49e4a891c57d514fca39642abfaad91f6 /sources/shiboken6/ApiExtractor/typesystem_enums.h | |
parent | eb16797b9a54970dbc0c461ebeddda57b060af22 (diff) |
shiboken6: Add support for a snake case typesystem attribute
Add a snake case attribute to type system, complex type entry,
function type entry as well as to function and field modifications.
Add a function definitionNames() to AbstractMetaFunction/Field
returning the names under which the function/field will be registered.
Change the code writing the registration accordingly.
Fixes: PYSIDE-1441
Change-Id: I178390bb80fa25aad9f8a56e99e4cc70064178eb
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/typesystem_enums.h')
-rw-r--r-- | sources/shiboken6/ApiExtractor/typesystem_enums.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sources/shiboken6/ApiExtractor/typesystem_enums.h b/sources/shiboken6/ApiExtractor/typesystem_enums.h index 0d7f279c4..60832b64e 100644 --- a/sources/shiboken6/ApiExtractor/typesystem_enums.h +++ b/sources/shiboken6/ApiExtractor/typesystem_enums.h @@ -81,6 +81,13 @@ enum class ExceptionHandling { On }; +enum class SnakeCase { + Unspecified, + Disabled, + Enabled, + Both +}; + enum Visibility { // For namespaces Unspecified, Visible, |