Fixing perl bindings after refactoring

This commit is contained in:
bubnikv 2020-01-06 09:36:03 +01:00
parent 5294c85dfc
commit afbc4a4cf2

View file

@ -61,7 +61,7 @@
Ref<LayerRegion> add_region(PrintRegion* print_region);
ExPolygonCollection* slices()
%code%{ RETVAL = new ExPolygonCollection(THIS->slices); %};
%code%{ RETVAL = new ExPolygonCollection(THIS->lslices); %};
int ptr()
%code%{ RETVAL = (int)(intptr_t)THIS; %};
@ -110,7 +110,7 @@
Ref<LayerRegion> add_region(PrintRegion* print_region);
ExPolygonCollection* slices()
%code%{ RETVAL = new ExPolygonCollection(THIS->slices); %};
%code%{ RETVAL = new ExPolygonCollection(THIS->lslices); %};
void export_region_slices_to_svg(const char *path);
void export_region_fill_surfaces_to_svg(const char *path);