mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 14:44:19 -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
|
@ -42,6 +42,7 @@ Line::midpoint() const
|
|||
return new Point ((this->a.x + this->b.x) / 2.0, (this->a.y + this->b.y) / 2.0);
|
||||
}
|
||||
|
||||
#ifdef SLIC3RXS
|
||||
void
|
||||
Line::from_SV(SV* line_sv)
|
||||
{
|
||||
|
@ -98,5 +99,6 @@ Line::to_SV_pureperl() const {
|
|||
av_store(av, 1, this->b.to_SV_pureperl());
|
||||
return newRV_noinc((SV*)av);
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue