Add atomic test for C++ class with a method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13417 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f24ce340ff
commit
f6bd496b76
1 changed files with 10 additions and 0 deletions
10
Examples/test-suite/cpp_atomic_class_method.i
Normal file
10
Examples/test-suite/cpp_atomic_class_method.i
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
%module cpp_atomic_class_method
|
||||
|
||||
%inline{
|
||||
class MyClass {
|
||||
public:
|
||||
int someMethod(void) {
|
||||
return 42;
|
||||
}
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue