diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-10-08 13:28:28 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-10-09 15:23:47 +0200 |
commit | 148791b4ca5f20d35ffc22f623be91f1bb79177b (patch) | |
tree | 0a414d5f6a3941c09b5f7f08829119fbb42d6ffa /build-aux/qmi-codegen/VariableSequence.py | |
parent | c0c06efb3991fdbf28741c4e5edebfa5823d09cf (diff) | |
download | external_libqmi-148791b4ca5f20d35ffc22f623be91f1bb79177b.zip external_libqmi-148791b4ca5f20d35ffc22f623be91f1bb79177b.tar.gz external_libqmi-148791b4ca5f20d35ffc22f623be91f1bb79177b.tar.bz2 |
docs: improve generated `libqmi-glib' documentation
Among the tons of fixes done here, we now generate some per-service .sections
file which we then concatenate to build the final libqmi-glib-sections.txt file.
Diffstat (limited to 'build-aux/qmi-codegen/VariableSequence.py')
-rw-r--r-- | build-aux/qmi-codegen/VariableSequence.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/build-aux/qmi-codegen/VariableSequence.py b/build-aux/qmi-codegen/VariableSequence.py index 6e6777a..07b3ba4 100644 --- a/build-aux/qmi-codegen/VariableSequence.py +++ b/build-aux/qmi-codegen/VariableSequence.py @@ -204,3 +204,12 @@ class VariableSequence(Variable): for member in self.members: built += member['object'].build_dispose(line_prefix, variable_name + '_' + member['name']) return built + + + """ + Add sections + """ + def add_sections(self, sections): + # Add sections for each member + for member in self.members: + member['object'].add_sections(sections) |