PrusaSlicer-NonPlainar/xs/src/Point.hpp

22 lines
329 B
C++
Raw Normal View History

2013-07-06 13:26:32 +00:00
#ifndef slic3r_Point_hpp_
#define slic3r_Point_hpp_
extern "C" {
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#include "ppport.h"
}
class Point
{
public:
unsigned long x;
unsigned long y;
2013-07-06 14:33:49 +00:00
Point(unsigned long _x = 0, unsigned long _y = 0): x(_x), y(_y) {};
2013-07-06 13:26:32 +00:00
~Point();
SV* _toPerl();
};
#endif