mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-15 01:22:07 +00:00
Translate Model class' storage to C++.
Some code copied from xs-model branch.
Also:
* Generate ::Ref classes programatically.
* Add separate __REGISTER_CLASS macro
(for use where forward declaration won't work, i.e. typedefs)
This commit is contained in:
13
xs/src/StringMap.cpp
Normal file
13
xs/src/StringMap.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include "StringMap.hpp"
|
||||
#ifdef SLIC3RXS
|
||||
#include "perlglue.hpp"
|
||||
#endif
|
||||
|
||||
|
||||
namespace Slic3r {
|
||||
|
||||
#ifdef SLIC3RXS
|
||||
__REGISTER_CLASS(StringMap, "StringMap");
|
||||
#endif
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user