diff options
author | Vojtech Bubnik <bubnikv@gmail.com> | 2021-02-18 12:31:15 +0300 |
---|---|---|
committer | Vojtech Bubnik <bubnikv@gmail.com> | 2021-02-18 12:31:15 +0300 |
commit | ce8986348c66369d3094172de0f471977248d522 (patch) | |
tree | c129b05f5a7bac87b182db7b307fea08e8e7b5b2 /xs | |
parent | 31bc52a5cbbbd83b266da78f1afe1a460a277e99 (diff) |
Cooling buffer - fix of Perl bindings
Diffstat (limited to 'xs')
-rw-r--r-- | xs/xsp/GCode.xsp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xs/xsp/GCode.xsp b/xs/xsp/GCode.xsp index 34e58afc7..41aa28f39 100644 --- a/xs/xsp/GCode.xsp +++ b/xs/xsp/GCode.xsp @@ -11,7 +11,11 @@ %code{% RETVAL = new CoolingBuffer(*gcode); %}; ~CoolingBuffer(); Ref<GCode> gcodegen(); - std::string process_layer(std::string gcode, size_t layer_id, bool fush = true); + void process_layer(std::string gcode, size_t layer_id) + %code{% + THIS->process_layer(std::move(gcode), layer_id); + %}; + }; %name{Slic3r::GCode} class GCode { |