Add ::Ref classes for every missing C++ class (going by REGISTER_CLASS calls).

This commit is contained in:
Y. Sapir 2014-05-07 01:38:57 +03:00
parent 8da0bded1d
commit d06c300926
2 changed files with 11 additions and 6 deletions

View file

@ -181,14 +181,21 @@ use overload
package main; package main;
for my $class (qw( for my $class (qw(
Slic3r::Config Slic3r::Config
Slic3r::Config::Full
Slic3r::Config::Print Slic3r::Config::Print
Slic3r::Config::PrintObject
Slic3r::Config::PrintRegion Slic3r::Config::PrintRegion
Slic3r::ExPolygon Slic3r::ExPolygon
Slic3r::ExPolygon::Collection
Slic3r::Extruder
Slic3r::ExtrusionLoop Slic3r::ExtrusionLoop
Slic3r::ExtrusionPath Slic3r::ExtrusionPath
Slic3r::ExtrusionPath::Collection Slic3r::ExtrusionPath::Collection
Slic3r::Geometry::BoundingBoxf3 Slic3r::Flow
Slic3r::GCode::PlaceholderParser Slic3r::GCode::PlaceholderParser
Slic3r::Geometry::BoundingBox
Slic3r::Geometry::BoundingBoxf
Slic3r::Geometry::BoundingBoxf3
Slic3r::Layer Slic3r::Layer
Slic3r::Layer::Region Slic3r::Layer::Region
Slic3r::Layer::Support Slic3r::Layer::Support
@ -204,10 +211,13 @@ for my $class (qw(
Slic3r::Pointf3 Slic3r::Pointf3
Slic3r::Polygon Slic3r::Polygon
Slic3r::Polyline Slic3r::Polyline
Slic3r::Polyline::Collection
Slic3r::Print Slic3r::Print
Slic3r::Print::Object Slic3r::Print::Object
Slic3r::Print::Region Slic3r::Print::Region
Slic3r::Print::State
Slic3r::Surface Slic3r::Surface
Slic3r::Surface::Collection
Slic3r::TriangleMesh Slic3r::TriangleMesh
)) ))
{ {

View file

@ -79,22 +79,17 @@
%typemap{Clone<PrintState>}{simple}; %typemap{Clone<PrintState>}{simple};
%typemap{PrintRegion*}; %typemap{PrintRegion*};
%typemap{Ref<PrintRegion>}{simple}; %typemap{Ref<PrintRegion>}{simple};
%typemap{Clone<PrintRegion>}{simple};
%typemap{PrintObject*}; %typemap{PrintObject*};
%typemap{Ref<PrintObject>}{simple}; %typemap{Ref<PrintObject>}{simple};
%typemap{Clone<PrintObject>}{simple};
%typemap{Print*}; %typemap{Print*};
%typemap{Ref<Print>}{simple}; %typemap{Ref<Print>}{simple};
%typemap{Clone<Print>}{simple}; %typemap{Clone<Print>}{simple};
%typemap{LayerRegion*}; %typemap{LayerRegion*};
%typemap{Ref<LayerRegion>}{simple}; %typemap{Ref<LayerRegion>}{simple};
%typemap{Clone<LayerRegion>}{simple};
%typemap{Layer*}; %typemap{Layer*};
%typemap{Ref<Layer>}{simple}; %typemap{Ref<Layer>}{simple};
%typemap{Clone<Layer>}{simple};
%typemap{SupportLayer*}; %typemap{SupportLayer*};
%typemap{Ref<SupportLayer>}{simple}; %typemap{Ref<SupportLayer>}{simple};
%typemap{Clone<SupportLayer>}{simple};
%typemap{PlaceholderParser*}; %typemap{PlaceholderParser*};
%typemap{Ref<PlaceholderParser>}{simple}; %typemap{Ref<PlaceholderParser>}{simple};
%typemap{Clone<PlaceholderParser>}{simple}; %typemap{Clone<PlaceholderParser>}{simple};