Fixing the Perl bindings for the last time

This commit is contained in:
Vojtech Bubnik 2021-02-18 11:42:35 +01:00
parent 0b45b312f9
commit b03c318ed7

View file

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