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:47:06 +0300
committerVojtech Bubnik <bubnikv@gmail.com>2021-02-18 13:47:06 +0300
commit65f5ac4f8aa802fbdc286e0f58d16ab8361ceaf9 (patch)
treeeac23aecbb1f5a74bca35506edb0c26318d572a5 /xs
parentb03c318ed7afd2da8df006e4d1dbf8915b43e329 (diff)
The perl binding is killing Vojtech
Diffstat (limited to 'xs')
-rw-r--r--xs/xsp/GCode.xsp4
1 files changed, 1 insertions, 3 deletions
diff --git a/xs/xsp/GCode.xsp b/xs/xsp/GCode.xsp
index 6648b4453..78a5dde37 100644
--- a/xs/xsp/GCode.xsp
+++ b/xs/xsp/GCode.xsp
@@ -12,9 +12,7 @@
~CoolingBuffer();
Ref<GCode> gcodegen();
std::string process_layer(std::string gcode, size_t layer_id)
- %code{%
- return THIS->process_layer(std::move(gcode), layer_id, true);
- %};
+ %code{% RETVAL = THIS->process_layer(std::move(gcode), layer_id, true); %};
};