Test const char [] instead of const char *

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-06-15 20:12:22 +00:00
commit db374a14f4
21 changed files with 14 additions and 22 deletions

View file

@ -1,6 +1,5 @@
/* File : example.i */
%module example
#pragma SWIG nowarn=451
%{
#include "example.h"
%}
@ -18,7 +17,7 @@ extern char cvar;
extern float fvar;
extern double dvar;
extern char *strvar;
extern const char * cstrvar;
extern const char cstrvar[];
extern int *iptrvar;
extern char name[256];