mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-09 06:45:25 -06:00
Conditional compilation to exclude all Perl/XS stuff from C++ code
This commit is contained in:
parent
e2cb40766b
commit
6e22a82e7d
20 changed files with 133 additions and 87 deletions
|
@ -72,6 +72,7 @@ Point::distance_to(const Point* point) const
|
|||
return sqrt(dx*dx + dy*dy);
|
||||
}
|
||||
|
||||
#ifdef SLIC3RXS
|
||||
SV*
|
||||
Point::to_SV_ref() {
|
||||
SV* sv = newSV(0);
|
||||
|
@ -112,5 +113,6 @@ Point::from_SV_check(SV* point_sv)
|
|||
this->from_SV(point_sv);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue