diff options
author | bubnikv <bubnikv@gmail.com> | 2018-10-24 14:59:24 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2018-10-24 14:59:24 +0300 |
commit | 56633c7449127d0894dd8c697033309f62781ccd (patch) | |
tree | 2d7dd647ce0bcccbadd026fe88dcefc7f817660e /xs | |
parent | f3c9a798dd26e18f766e5f9a2115173535131098 (diff) |
Reverted Print::export_png() for the Perl unit tests.
Diffstat (limited to 'xs')
-rw-r--r-- | xs/xsp/Print.xsp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xs/xsp/Print.xsp b/xs/xsp/Print.xsp index 39708ca7a..b34444b23 100644 --- a/xs/xsp/Print.xsp +++ b/xs/xsp/Print.xsp @@ -185,6 +185,14 @@ _constant() } %}; + void export_gcode(char *path_template) %code%{ + try { + THIS->export_gcode(path_template, nullptr); + } catch (std::exception& e) { + croak(e.what()); + } + %}; + void export_png(char *path) %code%{ try { THIS->export_png(path); |