mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 15:44:12 -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
|
@ -320,6 +320,7 @@ void safety_offset(ClipperLib::Polygons* &subject)
|
|||
|
||||
///////////////////////
|
||||
|
||||
#ifdef SLIC3RXS
|
||||
SV*
|
||||
polynode_children_2_perl(const ClipperLib::PolyNode& node)
|
||||
{
|
||||
|
@ -346,5 +347,6 @@ polynode2perl(const ClipperLib::PolyNode& node)
|
|||
(void)hv_stores( hv, "children", polynode_children_2_perl(node) );
|
||||
return (SV*)newRV_noinc((SV*)hv);
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue