aboutsummaryrefslogtreecommitdiffstats
path: root/common/arch_pybindings_shared.h
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2020-02-14 21:08:58 +0000
committerDavid Shah <dave@ds0.me>2020-02-15 11:35:51 +0000
commitb6158f94f6e83e7fac67c678effd21ec932cd0c2 (patch)
tree4d79e9dcc6b476e8b88023ca3244ae23fea6ec5a /common/arch_pybindings_shared.h
parente0b4f0ee63072f0e5aa86b4fa9ca1f488ae57790 (diff)
downloadnextpnr-b6158f94f6e83e7fac67c678effd21ec932cd0c2.tar.gz
nextpnr-b6158f94f6e83e7fac67c678effd21ec932cd0c2.tar.bz2
nextpnr-b6158f94f6e83e7fac67c678effd21ec932cd0c2.zip
svg: Basic SVG graphics rendering
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'common/arch_pybindings_shared.h')
-rw-r--r--common/arch_pybindings_shared.h3
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");