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 13:42:35 +0300
committerVojtech Bubnik <bubnikv@gmail.com>2021-02-18 13:42:35 +0300
commitb03c318ed7afd2da8df006e4d1dbf8915b43e329 (patch)
tree491112d5d1b632e9901468cb8822c3752e07dfaf /xs
parent0b45b312f9201f1677424c76e83fbcfd6b0af2f9 (diff)
Fixing the Perl bindings for the last time
Diffstat (limited to 'xs')
-rw-r--r--xs/xsp/GCode.xsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xs/xsp/GCode.xsp b/xs/xsp/GCode.xsp
index 12fc5d419..6648b4453 100644
--- a/xs/xsp/GCode.xsp
+++ b/xs/xsp/GCode.xsp
@@ -11,9 +11,9 @@
%code{% RETVAL = new CoolingBuffer(*gcode); %};
~CoolingBuffer();
Ref<GCode> gcodegen();
- void process_layer(std::string gcode, size_t layer_id)
+ std::string process_layer(std::string gcode, size_t layer_id)
%code{%
- THIS->process_layer(std::move(gcode), layer_id, true);
+ return THIS->process_layer(std::move(gcode), layer_id, true);
%};
};