diff options
author | Marcelo Matus <mmatus@acms.arizona.edu> | 2006-03-03 05:16:16 +0000 |
---|---|---|
committer | Marcelo Matus <mmatus@acms.arizona.edu> | 2006-03-03 05:16:16 +0000 |
commit | dd1e7cd0b43d843d00b0a146efd826178cef3e02 (patch) | |
tree | a74e455d6928ba48c6751d65e87b8564e006ad8e /Lib/swigwarnings.swg | |
parent | 0602f5c4cd2eefe96be6e335463dcd38e1a59bbb (diff) | |
download | swig-dd1e7cd0b43d843d00b0a146efd826178cef3e02.tar.gz |
fix builtin names warnings, so they ony apply to functions, as reported by James Bigler and the 'max' name issue
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8938 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/swigwarnings.swg')
-rw-r--r-- | Lib/swigwarnings.swg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/swigwarnings.swg b/Lib/swigwarnings.swg index d3d1065e9..803207257 100644 --- a/Lib/swigwarnings.swg +++ b/Lib/swigwarnings.swg @@ -113,7 +113,7 @@ * ----------------------------------------------------------------------------- */ #define %keywordwarn(msg...) %namewarn(%warningmsg(SWIGWARN_PARSE_KEYWORD, msg)) -#define %builtinwarn(msg...) %namewarn(%warningmsg(SWIGWARN_PARSE_BUILTIN_NAME, msg)) +#define %builtinwarn(msg...) %namewarn(%warningmsg(SWIGWARN_PARSE_BUILTIN_NAME, msg), %$isfunction) /* ----------------------------------------------------------------------------- |