diff options
author | David Shah <dave@ds0.me> | 2020-02-15 23:34:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-15 23:34:50 +0000 |
commit | affb12cc27ebf409eade062c4c59bb98569d8147 (patch) | |
tree | 4d79e9dcc6b476e8b88023ca3244ae23fea6ec5a /common/arch_pybindings_shared.h | |
parent | e0b4f0ee63072f0e5aa86b4fa9ca1f488ae57790 (diff) | |
parent | b6158f94f6e83e7fac67c678effd21ec932cd0c2 (diff) | |
download | nextpnr-affb12cc27ebf409eade062c4c59bb98569d8147.tar.gz nextpnr-affb12cc27ebf409eade062c4c59bb98569d8147.tar.bz2 nextpnr-affb12cc27ebf409eade062c4c59bb98569d8147.zip |
Merge pull request #398 from YosysHQ/svg
svg: Basic SVG graphics rendering
Diffstat (limited to 'common/arch_pybindings_shared.h')
-rw-r--r-- | common/arch_pybindings_shared.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/arch_pybindings_shared.h b/common/arch_pybindings_shared.h index 89a61dad..7b0fa501 100644 --- a/common/arch_pybindings_shared.h +++ b/common/arch_pybindings_shared.h @@ -114,3 +114,6 @@ fn_wrapper_0a<Context, decltype(&Context::getChipName), &Context::getChipName, p ctx_cls, "getChipName"); fn_wrapper_0a<Context, decltype(&Context::archId), &Context::archId, conv_to_str<IdString>>::def_wrap(ctx_cls, "archId"); + +fn_wrapper_2a_v<Context, decltype(&Context::writeSVG), &Context::writeSVG, pass_through<std::string>, + pass_through<std::string>>::def_wrap(ctx_cls, "writeSVG"); |