The perl binding is killing Vojtech

This commit is contained in:
Vojtech Bubnik 2021-02-18 11:47:06 +01:00
parent b03c318ed7
commit 65f5ac4f8a

View File

@ -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); %};
};