Add user static array field support (with recursion)
[deliverable/barectf.git] / barectf / templates / c / size-write-string-statements.j2
index 155438d25af81cb0f2766d30c0fc5eff945fa396..7aefd330d5282309b60b9cca59b1839e3745a792 100644 (file)
@@ -24,4 +24,4 @@
  #}
 {% import 'c/common.j2' as c_common %}
 /* Add `{{ op.top_name }}` string field's size */
-at += _BYTES_TO_BITS(strlen({{ c_common.op_src(op) }}) + 1);
+at += _BYTES_TO_BITS(strlen({{ op | op_src_var_name }}) + 1);
This page took 0.022635 seconds and 4 git commands to generate.