xo-gc stack: genfacet for Collector + facet registry bugfix
This commit is contained in:
parent
48cb87bcb9
commit
933d121cbf
15 changed files with 570 additions and 429 deletions
|
|
@ -122,6 +122,8 @@ def gen_facet(env,
|
|||
md['args'] = [{'type': "Opaque", 'name': "data"}] + md['args']
|
||||
md['doc'] = '\n'.join(md['doc'])
|
||||
|
||||
router_facet_explicit_content = idl.get('router_facet_explicit_content', [])
|
||||
|
||||
# Foo.hpp
|
||||
facet_hpp_fname = f'{facet_name}.hpp'
|
||||
# AFoo
|
||||
|
|
@ -193,6 +195,7 @@ def gen_facet(env,
|
|||
'router_facet': router_facet,
|
||||
'router_facet_hpp_j2': 'router_facet.hpp.j2',
|
||||
'router_facet_hpp_fname': router_facet_hpp_fname,
|
||||
'router_facet_explicit_content': router_facet_explicit_content,
|
||||
#
|
||||
'types': types,
|
||||
#
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ namespace xo {
|
|||
auto retval = try_variant<ATo>(from);
|
||||
|
||||
if (!retval)
|
||||
throw std::runtime_error(tostr("FacetRegistry::try_variant failed",
|
||||
throw std::runtime_error(tostr("FacetRegistry::variant failed",
|
||||
xtag("AFrom.tseq", typeseq::id<AFrom>()),
|
||||
xtag("AFrom.tname", typerecd::recd<AFrom>().name()),
|
||||
xtag("ATo.tseq", typeseq::id<ATo>()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue