summaryrefslogtreecommitdiff
path: root/Source/Include
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2019-02-03 21:59:48 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2019-02-04 18:46:16 +0000
commit9defd8e0330ebd491b2102bb7dc6d6b43715c712 (patch)
treec96b550569834ec297dd91ac17869cb45ed17e3f /Source/Include
parentb50e5fac8e1d76e8810c552f533a43f67ff57837 (diff)
downloadswig-9defd8e0330ebd491b2102bb7dc6d6b43715c712.tar.gz
Add support for differentiating target language statuses
Three status: Disabled, Experimental and Supported. Any target language classified as 'Experimental' will issue new warning 524 SWIGWARN_LANG_EXPERIMENTAL. Any target language classified as 'Disabled' will error out. Languages will be classified in forthcoming commits. Issue #1437
Diffstat (limited to 'Source/Include')
-rw-r--r--Source/Include/swigwarn.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Include/swigwarn.h b/Source/Include/swigwarn.h
index 9f863f194..fde82bd96 100644
--- a/Source/Include/swigwarn.h
+++ b/Source/Include/swigwarn.h
@@ -18,6 +18,8 @@
* Even though symbolic constants are used in the SWIG source, this is
* not always the case in SWIG interface files. Do not change the
* numbers in this file.
+ *
+ * This file is used as the input for generating Lib/swigwarn.swg.
* ----------------------------------------------------------------------------- */
#ifndef SWIGWARN_H_
@@ -208,6 +210,7 @@
#define WARN_LANG_ILLEGAL_DESTRUCTOR 521
#define WARN_LANG_EXTEND_CONSTRUCTOR 522
#define WARN_LANG_EXTEND_DESTRUCTOR 523
+#define WARN_LANG_EXPERIMENTAL 524
/* -- Doxygen comments -- */