Strings test, tests in, out, inout string and char * types.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4687 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b4831c6e0b
commit
3acd792de3
4 changed files with 95 additions and 0 deletions
14
Examples/ocaml/strings_test/example.i
Normal file
14
Examples/ocaml/strings_test/example.i
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
%module example
|
||||
%{
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
using std::cin;
|
||||
using std::cout;
|
||||
using std::endl;
|
||||
using std::string;
|
||||
|
||||
#include "example.h"
|
||||
%}
|
||||
|
||||
%include example.h
|
||||
Loading…
Add table
Add a link
Reference in a new issue