Fix samename testcase for c# and java
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10515 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
eb50e9c4b9
commit
e6d50f5d65
1 changed files with 11 additions and 2 deletions
|
|
@ -1,6 +1,15 @@
|
|||
%module samename
|
||||
|
||||
%inline {
|
||||
#if !(defined(SWIGCSHARP) || defined(SWIGJAVA))
|
||||
class samename {
|
||||
public:
|
||||
void do_something() {
|
||||
// ...
|
||||
}
|
||||
};
|
||||
#endif
|
||||
|
||||
%{
|
||||
|
||||
class samename {
|
||||
public:
|
||||
|
|
@ -9,5 +18,5 @@ class samename {
|
|||
}
|
||||
};
|
||||
|
||||
}
|
||||
%}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue