aboutsummaryrefslogtreecommitdiffstats
path: root/build-aux/qmi-codegen/VariableStruct.py
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2014-10-09 15:50:40 +0200
committerAleksander Morgado <aleksander@aleksander.es>2014-11-09 20:15:28 +0100
commit654ad38ad9356b679d469dc3ae57169b085627a7 (patch)
treecfbcfde176825e07d09120a832c84bde6f757310 /build-aux/qmi-codegen/VariableStruct.py
parent8541fa485d486a6f0677323d2be0ea62205a0c6c (diff)
qmi-codegen: use the new TLV builder API
Diffstat (limited to 'build-aux/qmi-codegen/VariableStruct.py')
-rw-r--r--build-aux/qmi-codegen/VariableStruct.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-aux/qmi-codegen/VariableStruct.py b/build-aux/qmi-codegen/VariableStruct.py
index 041e6ab..1e96e5d 100644
--- a/build-aux/qmi-codegen/VariableStruct.py
+++ b/build-aux/qmi-codegen/VariableStruct.py
@@ -121,9 +121,9 @@ class VariableStruct(Variable):
Writing the contents of a struct is just about writing each of the struct
fields one by one.
"""
- def emit_buffer_write(self, f, line_prefix, variable_name, buffer_name, buffer_len, error_label):
+ def emit_buffer_write(self, f, line_prefix, tlv_name, variable_name):
for member in self.members:
- member['object'].emit_buffer_write(f, line_prefix, variable_name + '.' + member['name'], buffer_name, buffer_len, error_label)
+ member['object'].emit_buffer_write(f, line_prefix, tlv_name, variable_name + '.' + member['name'])
"""