Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xs/xsp/Point.xsp')
-rw-r--r--xs/xsp/Point.xsp12
1 files changed, 10 insertions, 2 deletions
diff --git a/xs/xsp/Point.xsp b/xs/xsp/Point.xsp
index 9756a4b31..ac1b74e89 100644
--- a/xs/xsp/Point.xsp
+++ b/xs/xsp/Point.xsp
@@ -7,8 +7,16 @@
%name{Slic3r::Point::XS} class Point {
Point(unsigned long _x = 0, unsigned long _y = 0);
- ~Point();
- SV* _toPerl();
+%{
+
+SV*
+Point::_toPerl()
+ CODE:
+ RETVAL = point2perl(*THIS);
+ OUTPUT:
+ RETVAL
+
+%}
};
%package{Slic3r::Point::XS};