Fix of perl bindings

This commit is contained in:
bubnikv 2019-09-19 14:31:50 +02:00
parent 40e5fb5bb9
commit 2414dab85a

View file

@ -31,13 +31,11 @@
ExtrusionEntityCollection* flatten() ExtrusionEntityCollection* flatten()
%code{% %code{%
RETVAL = new ExtrusionEntityCollection(); RETVAL = new ExtrusionEntityCollection();
THIS->flatten(RETVAL); *RETVAL = THIS->flatten();
%}; %};
double min_mm3_per_mm(); double min_mm3_per_mm();
bool empty() bool empty()
%code{% RETVAL = THIS->entities.empty(); %}; %code{% RETVAL = THIS->entities.empty(); %};
std::vector<size_t> orig_indices()
%code{% RETVAL = THIS->orig_indices; %};
Polygons polygons_covered_by_width(); Polygons polygons_covered_by_width();
Polygons polygons_covered_by_spacing(); Polygons polygons_covered_by_spacing();
%{ %{