diff options
author | Vojtech Bubnik <bubnikv@gmail.com> | 2021-02-18 13:42:35 +0300 |
---|---|---|
committer | Vojtech Bubnik <bubnikv@gmail.com> | 2021-02-18 13:42:35 +0300 |
commit | b03c318ed7afd2da8df006e4d1dbf8915b43e329 (patch) | |
tree | 491112d5d1b632e9901468cb8822c3752e07dfaf /xs | |
parent | 0b45b312f9201f1677424c76e83fbcfd6b0af2f9 (diff) |
Fixing the Perl bindings for the last time
Diffstat (limited to 'xs')
-rw-r--r-- | xs/xsp/GCode.xsp | 4 |
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); %}; }; |