Fixing perl bindings
This commit is contained in:
parent
714149dab2
commit
b8db1922f7
@ -37,9 +37,6 @@ _constant()
|
|||||||
%name{Slic3r::Print::Object} class PrintObject {
|
%name{Slic3r::Print::Object} class PrintObject {
|
||||||
// owned by Print, no constructor/destructor
|
// owned by Print, no constructor/destructor
|
||||||
|
|
||||||
int region_count()
|
|
||||||
%code%{ RETVAL = THIS->print()->regions().size(); %};
|
|
||||||
|
|
||||||
Ref<Print> print();
|
Ref<Print> print();
|
||||||
Ref<ModelObject> model_object();
|
Ref<ModelObject> model_object();
|
||||||
Ref<StaticPrintConfig> config()
|
Ref<StaticPrintConfig> config()
|
||||||
@ -99,10 +96,6 @@ _constant()
|
|||||||
|
|
||||||
PrintRegionPtrs* regions()
|
PrintRegionPtrs* regions()
|
||||||
%code%{ RETVAL = const_cast<PrintRegionPtrs*>(&THIS->print_regions_mutable()); %};
|
%code%{ RETVAL = const_cast<PrintRegionPtrs*>(&THIS->print_regions_mutable()); %};
|
||||||
Ref<PrintRegion> 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)
|
bool step_done(PrintStep step)
|
||||||
%code%{ RETVAL = THIS->is_step_done(step); %};
|
%code%{ RETVAL = THIS->is_step_done(step); %};
|
||||||
|
Loading…
Reference in New Issue
Block a user