Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2018-09-18 11:09:58 +0300
committerbubnikv <bubnikv@gmail.com>2018-09-18 11:09:58 +0300
commit3ddaccb6410478ad02d8c0e02d6d8e6eb1785b9f (patch)
tree97e9b632bdd5abc546d951771f144fe5b1d6ac73 /xs/src/libslic3r/Utils.hpp
parent27bba453312d59898f773aa54d7b625e65fc501e (diff)
Replaced CONFESS with throw std::exception in libslic3r, so now
libslic3r should be compilable without Perl.
Diffstat (limited to 'xs/src/libslic3r/Utils.hpp')
-rw-r--r--xs/src/libslic3r/Utils.hpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/xs/src/libslic3r/Utils.hpp b/xs/src/libslic3r/Utils.hpp
index 0d2df5a0b..c90ad7650 100644
--- a/xs/src/libslic3r/Utils.hpp
+++ b/xs/src/libslic3r/Utils.hpp
@@ -95,26 +95,6 @@ inline T next_highest_power_of_2(T v)
extern std::string xml_escape(std::string text);
-class PerlCallback {
-public:
- PerlCallback(void *sv) : m_callback(nullptr) { this->register_callback(sv); }
- PerlCallback() : m_callback(nullptr) {}
- ~PerlCallback() { this->deregister_callback(); }
- void register_callback(void *sv);
- void deregister_callback();
- void call() const;
- void call(int i) const;
- void call(int i, int j) const;
- void call(const std::vector<int>& ints) const;
- void call(double a) const;
- void call(double a, double b) const;
- void call(double a, double b, double c) const;
- void call(double a, double b, double c, double d) const;
- void call(bool b) const;
-private:
- void *m_callback;
-};
-
} // namespace Slic3r
#endif // slic3r_Utils_hpp_