1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-31 11:15:52 +00:00

Fix integration of XS containers

This commit is contained in:
Alessandro Ranellucci
2013-07-16 17:13:01 +02:00
parent 9b582a11ff
commit 9458c7db97
34 changed files with 279 additions and 152 deletions
+5 -3
View File
@@ -6,7 +6,7 @@
%}
%name{Slic3r::Point} class Point {
Point(unsigned long _x = 0, unsigned long _y = 0);
Point(long _x = 0, long _y = 0);
~Point();
Point* clone()
%code{% const char* CLASS = "Slic3r::Point"; RETVAL = new Point(*THIS); %};
@@ -14,9 +14,11 @@
void translate(double x, double y);
SV* arrayref()
%code{% RETVAL = THIS->to_SV_pureperl(); %};
unsigned long x()
SV* pp()
%code{% RETVAL = THIS->to_SV_pureperl(); %};
long x()
%code{% RETVAL = THIS->x; %};
unsigned long y()
long y()
%code{% RETVAL = THIS->y; %};
%{