summaryrefslogtreecommitdiff
path: root/Examples/ocaml/strings_test/example.i
blob: e0697b061bc3e148cc4b61d89d903eb13e7fb06b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
%module example
%{
#include <iostream>
#include <string>

using std::cin;
using std::cout;
using std::endl;
using std::string;

#include "example.h"
%}

%include "std_string.i"
%apply std::string& INOUT { std::string &inout }
%include example.h