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.
This commit is contained in:
William S Fulton 2022-06-30 17:28:25 +01:00
commit 1993b334a6

View file

@ -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"