Optimizations for better usage of XS code

This commit is contained in:
Alessandro Ranellucci committed 2013-08-29 01:36:42 +02:00
1 parent 9254ff9704
commit 5d6fd7f4d9
22 files changed
+68 -42

No files matched your search

+2
View File
@@ -18,6 +18,8 @@
%code{% RETVAL = THIS->polyline.lines(); %};
Point* first_point()
%code{% const char* CLASS = "Slic3r::Point"; RETVAL = new Point(*(THIS->first_point())); %};
Point* last_point()
%code{% const char* CLASS = "Slic3r::Point"; RETVAL = new Point(*(THIS->last_point())); %};
%{
ExtrusionPath*