fix def_arg case broken with last &/* fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8058 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5cf457be17
commit
aaedd30000
2 changed files with 21 additions and 1 deletions
|
|
@ -113,6 +113,9 @@ int* const globalRet2() {return &GlobalInt;}
|
|||
%{
|
||||
static int wxEVT_COMMAND_BUTTON_CLICKEDv;
|
||||
static int **wxEVT_COMMAND_BUTTON_CLICKEDp;
|
||||
char *langs[] ={"Hello"};
|
||||
|
||||
|
||||
%}
|
||||
|
||||
|
||||
|
|
@ -121,6 +124,7 @@ static int **wxEVT_COMMAND_BUTTON_CLICKEDp;
|
|||
|
||||
const int* wxEVENT_COMMAND_BUTTON_CLICKEDr = (int*) &wxEVT_COMMAND_BUTTON_CLICKEDv;
|
||||
const int* wxEVENT_COMMAND_BUTTON_CLICKEDp = (int*) *wxEVT_COMMAND_BUTTON_CLICKEDp;
|
||||
|
||||
char **languages1 = &langs[0];
|
||||
char **languages2 = (char **)&langs[0];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue