fix compilation warnings for vc++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10021 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
fa72166164
commit
f38b4df07d
3 changed files with 8 additions and 8 deletions
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
%{
|
||||
// forward reference needed if using SWIG_ATTRIBUTE_TEMPLATE
|
||||
class A;
|
||||
class MyFoo; // %attribute2 does not work with templates
|
||||
struct A;
|
||||
struct MyFoo; // %attribute2 does not work with templates
|
||||
%}
|
||||
|
||||
%attribute(A, int, a, get_a, set_a);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue