commit | dc46fe267d1d95e95b83629f9886c5bb6a067f83 | [log] [tgz] |
---|---|---|
author | Rich Lane <rlane@bigswitch.com> | Thu Apr 03 15:10:38 2014 -0700 |
committer | Rich Lane <rlane@bigswitch.com> | Thu Apr 03 16:39:51 2014 -0700 |
tree | 810d453c4b66bef758936334625447a3f632cbaa | |
parent | 6bc346d6be0be6429559aaf7cb16a11aebacdf38 [diff] [blame] |
loci: move per-obj function pointers to global tables This saves 32 bytes per of_object.
diff --git a/c_gen/templates/loci_classes.h b/c_gen/templates/loci_classes.h index 12c07d1..c5147cb 100644 --- a/c_gen/templates/loci_classes.h +++ b/c_gen/templates/loci_classes.h
@@ -33,6 +33,7 @@ :: for uclass in loxi_globals.unified.classes: void ${uclass.name}_wire_object_id_get(of_object_t *obj, of_object_id_t *id); +void ${uclass.name}_push_wire_types(of_object_t *obj); :: #endfor ${legacy_code}