summaryrefslogtreecommitdiff
path: root/linux-x86/share/swig/allkw.swg
diff options
context:
space:
mode:
Diffstat (limited to 'linux-x86/share/swig/allkw.swg')
-rw-r--r--linux-x86/share/swig/allkw.swg33
1 files changed, 33 insertions, 0 deletions
diff --git a/linux-x86/share/swig/allkw.swg b/linux-x86/share/swig/allkw.swg
new file mode 100644
index 0000000..2d3cf6e
--- /dev/null
+++ b/linux-x86/share/swig/allkw.swg
@@ -0,0 +1,33 @@
+#ifndef __Lib_allkw_swg__
+#define __Lib_allkw_swg__
+
+
+/*
+ Include all the known keyword warnings. Very useful for adding test
+ files to the test-suite, or checking if your own library is ok for all
+ the swig supported languages.
+
+ Use as
+
+ swig -Wallkw ...
+
+ If you add a new language, remember to create a separate languagekw.swg
+ file, and add it here.
+
+*/
+
+%include <csharp/csharpkw.swg>
+%include <d/dkw.swg>
+%include <go/gokw.swg>
+%include <java/javakw.swg>
+%include <lua/luakw.swg>
+%include <ocaml/ocamlkw.swg>
+%include <perl5/perlkw.swg>
+%include <php/phpkw.swg>
+%include <python/pythonkw.swg>
+%include <r/rkw.swg>
+%include <ruby/rubykw.swg>
+%include <tcl/tclkw.swg>
+
+
+#endif //__Lib_allkw_swg__