Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/xs
diff options
context:
space:
mode:
authorVojtech Bubnik <bubnikv@gmail.com>2021-02-18 12:31:15 +0300
committerVojtech Bubnik <bubnikv@gmail.com>2021-02-18 12:31:15 +0300
commitce8986348c66369d3094172de0f471977248d522 (patch)
treec129b05f5a7bac87b182db7b307fea08e8e7b5b2 /xs
parent31bc52a5cbbbd83b266da78f1afe1a460a277e99 (diff)
Cooling buffer - fix of Perl bindings
Diffstat (limited to 'xs')
-rw-r--r--xs/xsp/GCode.xsp6
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 {