mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Conditional compilation to exclude all Perl/XS stuff from C++ code
This commit is contained in:
@@ -50,6 +50,7 @@ ExPolygon::is_valid() const
|
||||
return true;
|
||||
}
|
||||
|
||||
#ifdef SLIC3RXS
|
||||
SV*
|
||||
ExPolygon::to_AV() {
|
||||
const unsigned int num_holes = this->holes.size();
|
||||
@@ -118,5 +119,6 @@ ExPolygon::from_SV_check(SV* expoly_sv)
|
||||
this->from_SV(expoly_sv);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user