PrusaSlicer-NonPlainar/xs/lib/Slic3r/XS.pm
2013-07-06 16:33:49 +02:00

19 lines
288 B
Perl

package Slic3r::XS;
use warnings;
use strict;
our $VERSION = '0.01';
use XSLoader;
XSLoader::load(__PACKAGE__, $VERSION);
package Slic3r::Point::XS;
use overload
'@{}' => sub { $_[0]->_toPerl };
package Slic3r::ExPolygon::XS;
use overload
'@{}' => sub { $_[0]->_toPerl };
1;