mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-02 18:12:43 +00:00
Utility functions to pass wxWidgets pointers from Perl to C++ code.
C++ var_dir / set_var_dir() interface to access the UI resources from the C++ code.
This commit is contained in:
@@ -159,8 +159,6 @@ bool from_SV(SV* point_sv, Pointf* point);
|
||||
bool from_SV_check(SV* point_sv, Pointf* point);
|
||||
void from_SV_check(SV* surface_sv, Surface* THIS);
|
||||
SV* to_SV(TriangleMesh* THIS);
|
||||
SV* polynode_children_2_perl(const ClipperLib::PolyNode& node);
|
||||
SV* polynode2perl(const ClipperLib::PolyNode& node);
|
||||
|
||||
}
|
||||
|
||||
@@ -173,6 +171,10 @@ SV* polynode2perl(const ClipperLib::PolyNode& node);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Defined in wxPerlIface.cpp
|
||||
// Return a pointer to the associated wxWidgets object instance given by classname.
|
||||
extern void* wxPli_sv_2_object( pTHX_ SV* scalar, const char* classname );
|
||||
|
||||
using namespace Slic3r;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user