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:
authorAlessandro Ranellucci <aar@cpan.org>2013-09-03 21:26:58 +0400
committerAlessandro Ranellucci <aar@cpan.org>2013-09-03 21:26:58 +0400
commita49dc603cc63850ed5a869132e2c1104ba8191d5 (patch)
tree9eaf88c6a4208dd457c22eb63171eb5ff817b391 /xs/src/Polygon.hpp
parent275422fac783f98be5ae63e01b3fbc8e007b19d2 (diff)
Many changes and fixes to remove leaks and return objects by reference
Diffstat (limited to 'xs/src/Polygon.hpp')
-rw-r--r--xs/src/Polygon.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xs/src/Polygon.hpp b/xs/src/Polygon.hpp
index 77ca81147..213c01c89 100644
--- a/xs/src/Polygon.hpp
+++ b/xs/src/Polygon.hpp
@@ -12,9 +12,9 @@ namespace Slic3r {
class Polygon : public MultiPoint {
public:
Point* last_point() const;
- SV* to_SV_ref() const;
+ SV* to_SV_ref();
SV* to_SV_clone_ref() const;
- Lines lines();
+ Lines lines() const;
Polyline* split_at(const Point* point);
Polyline* split_at_index(int index);
Polyline* split_at_first_point();