mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-29 08:02:43 +00:00
New XS framework for C and C++ code
This commit is contained in:
14
xs/xsp/TriangleMesh.xsp
Normal file
14
xs/xsp/TriangleMesh.xsp
Normal file
@@ -0,0 +1,14 @@
|
||||
%module{Slic3r::TriangleMesh::XS};
|
||||
%package{Slic3r::TriangleMesh::XS};
|
||||
|
||||
%{
|
||||
PROTOTYPES: DISABLE
|
||||
|
||||
std::string
|
||||
hello_world()
|
||||
CODE:
|
||||
RETVAL = "Hello world!";
|
||||
OUTPUT:
|
||||
RETVAL
|
||||
|
||||
%}
|
||||
Reference in New Issue
Block a user