Conditional compilation to exclude all Perl/XS stuff from C++ code

This commit is contained in:
Alessandro Ranellucci 2013-09-13 14:48:40 +02:00
parent e2cb40766b
commit 6e22a82e7d
20 changed files with 133 additions and 87 deletions

View file

@ -16,8 +16,11 @@ class Surface
unsigned short thickness_layers; // in layers
double bridge_angle;
unsigned short extra_perimeters;
SV* to_SV_ref();
double area() const;
#ifdef SLIC3RXS
SV* to_SV_ref();
#endif
};
typedef std::vector<Surface> Surfaces;