mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-12 03:42:25 +00:00
New XS framework for C and C++ code
This commit is contained in:
1 parent
c88d8a5842
commit
9d27b5e4a7
18 files changed
+7889
No files matched your search
@@ -0,0 +1,14 @@
|
||||
%module{Slic3r::TriangleMesh::XS};
|
||||
%package{Slic3r::TriangleMesh::XS};
|
||||
|
||||
%{
|
||||
PROTOTYPES: DISABLE
|
||||
|
||||
std::string
|
||||
hello_world()
|
||||
CODE:
|
||||
RETVAL = "Hello world!";
|
||||
OUTPUT:
|
||||
RETVAL
|
||||
|
||||
%}
|
||||
@@ -0,0 +1,6 @@
|
||||
%module{Slic3r::XS};
|
||||
%package{Slic3r::XS};
|
||||
|
||||
%{
|
||||
#include <myinit.h>
|
||||
%}
|
||||
Whitespace-only changes.
@@ -0,0 +1,2 @@
|
||||
%typemap{std::string}{simple};
|
||||
%typemap{std::string&}{reference};
|
||||
Reference in new issue
Block a user