| Brad Bishop | b97bfff | 2017-05-25 22:14:54 -0400 | [diff] [blame] | 1 | const std::array<std::vector<size_t>, ${len(callbackgroups)}> groups = {{ |
| 2 | % for g in callbackgroups: | ||||
| 3 | {${', '.join([str(x) for x in g.members])}}, | ||||
| 4 | % endfor | ||||
| 5 | }}; | ||||
| 6 | |||||
| 7 | <% graphs = [ x for x in callbacks if hasattr(x, 'graph')] %>\ | ||||
| 8 | const std::array<size_t, ${len(graphs)}> callbacks = { | ||||
| 9 | % for g in graphs: | ||||
| 10 | ${g.graph}, | ||||
| 11 | % endfor | ||||
| 12 | }; | ||||