adding Prabhu's 'weave' example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6768 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
2ce0825686
commit
e54afae12d
5 changed files with 125 additions and 0 deletions
18
SWIG/Examples/python/weave/example.h
Normal file
18
SWIG/Examples/python/weave/example.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#ifndef _EXAMPLE_H
|
||||
#define _EXAMPLE_H
|
||||
|
||||
class Foo {
|
||||
public:
|
||||
int x;
|
||||
};
|
||||
|
||||
class Bar {
|
||||
public:
|
||||
int y;
|
||||
};
|
||||
|
||||
class FooBar : public Foo, public Bar {
|
||||
public:
|
||||
int z;
|
||||
};
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue