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:
bubnikv 2017-10-17 20:00:15 +02:00
parent af51220f34
commit d9d6d996e9
9 changed files with 157 additions and 3 deletions

View file

@ -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