Files
OrcaSlicer-bambulab/xs/src/Point.cpp
Alessandro Ranellucci c50ecfb7f8 New Slic3r::Point::XS class
2013-07-06 15:26:32 +02:00

15 lines
251 B
C++

#include "myinit.h"
#include "Point.hpp"
Point::Point(unsigned long x, unsigned long y) {}
Point::~Point() {}
SV*
Point::_toPerl() {
AV* av = newAV();
av_fill(av, 1);
av_store_point_xy(av, x, y);
return (SV*)newRV_noinc((SV*)av);
}