mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 23:31:13 -06:00
Removed the "Broken croak" support, which was useful on broken
64bit Strawberry perl only. We don't use Strawberry perl anymore, so this has been removed for clarity. Added a PerlCallback wrapper to call a Perl subroutine from a C++ code.
This commit is contained in:
parent
81bfd8ce7e
commit
19977edae2
7 changed files with 104 additions and 65 deletions
|
@ -195,15 +195,6 @@ SV* to_SV(TriangleMesh* THIS);
|
|||
|
||||
}
|
||||
|
||||
#ifdef SLIC3R_HAS_BROKEN_CROAK
|
||||
#undef croak
|
||||
#ifdef _MSC_VER
|
||||
#define croak(...) confess_at(__FILE__, __LINE__, __FUNCTION__, __VA_ARGS__)
|
||||
#else
|
||||
#define croak(...) confess_at(__FILE__, __LINE__, __func__, __VA_ARGS__)
|
||||
#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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue