summaryrefslogtreecommitdiffstats
path: root/src/test/templates/conditiongentest.mako.hpp
blob: d3267bb28aec9c9cb79ad78f83f5d645198856c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
const std::array<std::vector<size_t>, ${len(callbackgroups)}> groups = {{
% for g in callbackgroups:
    {${', '.join([str(x) for x in g.members])}},
% endfor
}};

<% graphs = [ x for x in callbacks if hasattr(x, 'graph')] %>\
const std::array<size_t, ${len(graphs)}> callbacks = {
% for g in graphs:
    ${g.graph},
% endfor
};
OpenPOWER on IntegriCloud