change stream test name, plus more tests

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6791 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-11-28 22:34:48 +00:00
commit 78266c9b0d
9 changed files with 32 additions and 12 deletions

View file

@ -0,0 +1,32 @@
%module li_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);
}
};
%}