diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2022-06-30 17:28:25 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2022-06-30 17:28:25 +0100 |
commit | 1993b334a6583aaec1ce28000c3b3a1ae0406d5d (patch) | |
tree | be334b4bcf8bb02a35e012fbc3b3f619a88be310 /Lib/swig.swg | |
parent | 7cab5accef810642e500194debecedfcad940deb (diff) | |
download | swig-1993b334a6583aaec1ce28000c3b3a1ae0406d5d.tar.gz |
Generate swiglabels code earlier on in runtime code
Since the recent inclusion of <utility>, the warning suppressions in
swiglabels.swg stopped working as they appear after this include file.
In particular, The _MSC_VER warnings were not working.
Diffstat (limited to 'Lib/swig.swg')
-rw-r--r-- | Lib/swig.swg | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Lib/swig.swg b/Lib/swig.swg index 416d40982..ca7586457 100644 --- a/Lib/swig.swg +++ b/Lib/swig.swg @@ -602,6 +602,10 @@ namespace std { * Runtime code * ----------------------------------------------------------------------------- */ + +%insert("runtime") "swiglabels.swg" + + /* The SwigValueWrapper class */ /* @@ -703,8 +707,3 @@ template <typename T> T SwigValueInit() { %} #endif -/* The swiglabels */ - -%insert("runtime") "swiglabels.swg" - - |