mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-18 03:19:06 -07:00
Conditional compilation to exclude all Perl/XS stuff from C++ code
This commit is contained in:
@@ -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
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user