Add atomic test for C++ class with a primitive/native type attribute
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
dbd8d3aabd
commit
cafa7e5995
1 changed files with 9 additions and 0 deletions
|
|
@ -0,0 +1,9 @@
|
|||
%module cpp_atomic_class_var_pub_member_atom
|
||||
|
||||
%inline{
|
||||
class MyClass {
|
||||
public:
|
||||
int myPubInt;
|
||||
MyClass() : myPubInt(42){}
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue