More work for porting Config to XS

This commit is contained in:
Alessandro Ranellucci 2013-12-20 16:37:28 +01:00
parent 4d066840ba
commit 008f38cf68
6 changed files with 141 additions and 53 deletions

15
xs/xsp/Config.xsp Normal file
View file

@ -0,0 +1,15 @@
%module{Slic3r::XS};
%{
#include <myinit.h>
#include "Config.hpp"
%}
%name{Slic3r::Config} class DynamicConfig {
DynamicConfig();
~DynamicConfig();
SV* get(t_config_option_key opt_key);
%{
%}
};