Rename BSIZE in Examples/test-suite/arrays_scope.i to BBSIZE to avoid

a clash with BSIZE defined by headers on AIX with Perl (reported in
SF#1928048).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10386 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2008-04-24 11:07:56 +00:00
commit 42965a73cc
2 changed files with 8 additions and 3 deletions

View file

@ -1,6 +1,11 @@
Version 1.3.36 (in progress) Version 1.3.36 (in progress)
============================= =============================
04/24/2008: olly
Rename BSIZE in Examples/test-suite/arrays_scope.i to BBSIZE to avoid
a clash with BSIZE defined by headers on AIX with Perl (reported in
SF#1928048).
04/20/2008: wsfulton 04/20/2008: wsfulton
Add the ability to wrap all protected members when using directors. Add the ability to wrap all protected members when using directors.
Previously only the virtual methods were available to the target language. Previously only the virtual methods were available to the target language.

View file

@ -4,14 +4,14 @@
enum { ASIZE = 256 }; enum { ASIZE = 256 };
namespace foo { namespace foo {
enum { BSIZE = 512 }; enum { BBSIZE = 512 };
class Bar { class Bar {
public: public:
enum { CCSIZE = 768 }; enum { CCSIZE = 768 };
int adata[ASIZE]; int adata[ASIZE];
int bdata[BSIZE]; int bdata[BBSIZE];
int cdata[CCSIZE]; int cdata[CCSIZE];
void blah(int x[ASIZE], int y[BSIZE], int z[CCSIZE]) { }; void blah(int x[ASIZE], int y[BBSIZE], int z[CCSIZE]) { };
}; };
} }