commit | 83cedcc58311c2b3269b202fa67951b9dd131aa4 | [log] [tgz] |
---|---|---|
author | Jonathan Stout <jonstout@indiana.edu> | Mon Mar 03 16:38:00 2014 -0500 |
committer | Jonathan Stout <jonstout@indiana.edu> | Mon Mar 03 16:38:00 2014 -0500 |
tree | 9b39b23cd3315d2491bec7b3fe0709b6fc874308 | |
parent | 4783235a8a05663124289855312549c633330deb [diff] [blame] |
adding instruction_id funcs
diff --git a/c_gen/c_code_gen.py b/c_gen/c_code_gen.py index e987874..688578e 100644 --- a/c_gen/c_code_gen.py +++ b/c_gen/c_code_gen.py
@@ -2372,6 +2372,10 @@ out.write(""" obj->wire_type_get = of_instruction_wire_object_id_get; """) + if loxi_utils.class_is_instruction_id(cls): + out.write(""" + obj->wire_type_get = of_instruction_id_wire_object_id_get; +""") if loxi_utils.class_is_queue_prop(cls): out.write(""" obj->wire_type_get = of_queue_prop_wire_object_id_get;