Slic3r/xs/xsp/typemap.xspt

21 lines
428 B
Plaintext
Raw Normal View History

2013-06-23 17:33:07 +04:00
%typemap{std::string};
%typemap{std::vector<unsigned int>*};
%typemap{SV*};
%typemap{AV*};
2013-07-14 15:05:55 +04:00
%typemap{Point*};
%typemap{ExPolygon*};
%typemap{Polyline*};
%typemap{Polygon*};
2013-07-14 15:05:55 +04:00
%typemap{SurfaceType}{parsed}{
%cpp_type{SurfaceType};
%precall_code{%
$CVar = (SurfaceType)SvUV($PerlVar);
%};
};
%typemap{ExtrusionRole}{parsed}{
%cpp_type{ExtrusionRole};
%precall_code{%
$CVar = (ExtrusionRole)SvUV($PerlVar);
%};
};