Commit 07eabbc9 authored by Florian Goth's avatar Florian Goth
Browse files

fix generation of bindings

parent bca8ac0b
/** @file libshowcase.h
* This file is for collecting the interfaces that will be used to generate
* foreign language interfaces by SWIG.
*/
#include <string>
int func(int);
%module template_showcase
/*SWIG has a library for doing the string mappings.*/
%include "std_string.i"
%{
#define SWIG_FILE_WITH_INIT
/* Includes the header in the wrapper code */
#include "libshowcase.h"
%}
/* Parse the header file to generate wrappers */
%include "libshowcase.h"
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment