From b8db1922f7810d58e26da966d91b09d3f42842cd Mon Sep 17 00:00:00 2001 From: Vojtech Bubnik Date: Wed, 5 May 2021 17:03:11 +0200 Subject: [PATCH] Fixing perl bindings --- xs/xsp/Print.xsp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/xs/xsp/Print.xsp b/xs/xsp/Print.xsp index 6ac387b60..a6ea590f5 100644 --- a/xs/xsp/Print.xsp +++ b/xs/xsp/Print.xsp @@ -37,9 +37,6 @@ _constant() %name{Slic3r::Print::Object} class PrintObject { // owned by Print, no constructor/destructor - int region_count() - %code%{ RETVAL = THIS->print()->regions().size(); %}; - Ref print(); Ref model_object(); Ref config() @@ -99,10 +96,6 @@ _constant() PrintRegionPtrs* regions() %code%{ RETVAL = const_cast(&THIS->print_regions_mutable()); %}; - Ref get_region(int idx) - %code%{ RETVAL = THIS->print_regions_mutable()[idx]; %}; - size_t region_count() - %code%{ RETVAL = THIS->regions().size(); %}; bool step_done(PrintStep step) %code%{ RETVAL = THIS->is_step_done(step); %};