aboutsummaryrefslogtreecommitdiffstats
path: root/build-aux/qmi-codegen/Variable.py
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/qmi-codegen/Variable.py')
-rw-r--r--build-aux/qmi-codegen/Variable.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/build-aux/qmi-codegen/Variable.py b/build-aux/qmi-codegen/Variable.py
index 6b534d7..2a8d2e7 100644
--- a/build-aux/qmi-codegen/Variable.py
+++ b/build-aux/qmi-codegen/Variable.py
@@ -41,6 +41,11 @@ class Variable:
self.private_format = None
"""
+ Whether the variable is visible in public API or is reserved
+ """
+ self.visible = False if ('visible' in dictionary and dictionary['visible'] == 'no') else True
+
+ """
Variables that get allocated in heap need to get properly disposed.
"""
self.needs_dispose = False