PrusaSlicer-NonPlainar/xs/lib/Slic3r/XS.pm
2013-07-07 12:41:54 +02:00

19 lines
290 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]->arrayref };
package Slic3r::ExPolygon::XS;
use overload
'@{}' => sub { $_[0]->arrayref };
1;