%typemap{bool}{simple}; %typemap{std::string}; %typemap{std::vector*}; %typemap{std::vector*}; %typemap{SV*}; %typemap{AV*}; %typemap{Point*}; %typemap{ExPolygon*}; %typemap{Polyline*}; %typemap{Polygon*}; %typemap{ExtrusionEntityCollection*}; %typemap{ExtrusionPath*}; %typemap{ExtrusionLoop*}; %typemap{Points}; %typemap{Lines}; %typemap{Polygons}; %typemap{ExPolygons}; %typemap{Polygons*}; %typemap{Lines*}; %typemap{SurfaceType}{parsed}{ %cpp_type{SurfaceType}; %precall_code{% $CVar = (SurfaceType)SvUV($PerlVar); %}; }; %typemap{ExtrusionRole}{parsed}{ %cpp_type{ExtrusionRole}; %precall_code{% $CVar = (ExtrusionRole)SvUV($PerlVar); %}; };