_a -> m_a name change
_a member variable clashes with get_a() for languages that use getter and setter methods for member variables git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5854 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
fcda6ee313
commit
cd62640ebe
1 changed files with 3 additions and 3 deletions
|
|
@ -22,15 +22,15 @@
|
|||
{
|
||||
}
|
||||
|
||||
int _a;
|
||||
int m_a;
|
||||
|
||||
A(int a) :_a(a)
|
||||
A(int a) :m_a(a)
|
||||
{
|
||||
}
|
||||
|
||||
int get_a()
|
||||
{
|
||||
return _a;
|
||||
return m_a;
|
||||
}
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue