swig -DSWIG_ALLKW was too ugly. Use -Wallkw instead. Reverting swig.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5545 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
2f45350a89
commit
8abe741cdc
4 changed files with 98 additions and 78 deletions
|
|
@ -9,9 +9,9 @@
|
|||
|
||||
Use as
|
||||
|
||||
swig -DSWIG_ALLKW ...
|
||||
swig -Wallkw ...
|
||||
|
||||
If you add a new language, remember to create a separete kw.swg
|
||||
If you add a new language, remember to create a separete languagekw.swg
|
||||
file, and add it here.
|
||||
|
||||
*/
|
||||
|
|
@ -19,11 +19,11 @@
|
|||
%include "chicken/chickenkw.swg"
|
||||
%include "csharp/csharpkw.swg"
|
||||
%include "java/javakw.swg"
|
||||
%include "php4/phpkw.swg"
|
||||
%include "php4/php4kw.swg"
|
||||
%include "pike/pikekw.swg"
|
||||
%include "python/pythonkw.swg"
|
||||
%include "ruby/rubykw.swg"
|
||||
%include "tcl/tclkw.swg"
|
||||
%include "tcl/tcl8kw.swg"
|
||||
|
||||
|
||||
#endif //__Lib_allkw_swg__
|
||||
|
|
|
|||
19
Lib/swig.swg
19
Lib/swig.swg
|
|
@ -396,22 +396,3 @@ static int NAME(TYPE x) {
|
|||
%enddef
|
||||
|
||||
|
||||
/*
|
||||
Include all the known keyword warnings. Very useful for adding test
|
||||
files to the test-suite, or check if your own library is OK for all
|
||||
the swig supported languages.
|
||||
|
||||
Use as
|
||||
|
||||
swig -DSWIG_ALLKW ...
|
||||
|
||||
Note that this is not equivalent to
|
||||
|
||||
swig -lallkw.swg
|
||||
|
||||
the last form will have no effect since allkw.swg will be included
|
||||
to late.
|
||||
*/
|
||||
#ifdef SWIG_ALLKW
|
||||
%include "allkw.swg"
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue