diff options
author | Vojtech Bubnik <bubnikv@gmail.com> | 2021-02-18 13:47:06 +0300 |
---|---|---|
committer | Vojtech Bubnik <bubnikv@gmail.com> | 2021-02-18 13:47:06 +0300 |
commit | 65f5ac4f8aa802fbdc286e0f58d16ab8361ceaf9 (patch) | |
tree | eac23aecbb1f5a74bca35506edb0c26318d572a5 /xs | |
parent | b03c318ed7afd2da8df006e4d1dbf8915b43e329 (diff) |
The perl binding is killing Vojtech
Diffstat (limited to 'xs')
-rw-r--r-- | xs/xsp/GCode.xsp | 4 |
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); %}; }; |