- Uniform the definition of the keyword warnings through
the supported languages. - Added keyword list for most of the languages that didn't have one. - "All keywords" warning support, through the -DSWIG_ALLKW option. Read the Changes.current git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b9fa8132dd
commit
ea0f636eae
18 changed files with 593 additions and 60 deletions
|
|
@ -553,9 +553,7 @@
|
|||
}
|
||||
|
||||
// Some special reserved words in classes
|
||||
|
||||
%namewarn("314:cget is a reserved method name") *::cget;
|
||||
%namewarn("314:configure is a reserved method name") *::configure;
|
||||
%include "tclkw.swg"
|
||||
|
||||
/* C++ overloaded operators.
|
||||
|
||||
|
|
|
|||
10
SWIG/Lib/tcl/tclkw.swg
Normal file
10
SWIG/Lib/tcl/tclkw.swg
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#ifndef __tcl_tclkw_swg__
|
||||
#define __tcl_tclkw_swg__
|
||||
|
||||
// Some special reserved words in classes
|
||||
|
||||
%namewarn("314:cget is a tcl reserved method name") *::cget;
|
||||
%namewarn("314:configure is a tcl reserved method name") *::configure;
|
||||
|
||||
|
||||
#endif //__tcl_tclkw_swg__
|
||||
Loading…
Add table
Add a link
Reference in a new issue