swig/Examples/test-suite/python/lib_std_stream.i
Marcelo Matus 36bfc66486 add iostream test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6771 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 09:18:32 +00:00

32 lines
328 B
OpenEdge ABL

%module lib_std_stream
%include <std_iostream.i>
%pythoncallback(1) A::bar;
%inline %{
struct A
{
void __add__(int a)
{
}
void __add__(double a)
{
}
static int bar(int a){
return a;
}
static int foo(int a, int (*pf)(int a))
{
return pf(a);
}
};
%}