diff options
Diffstat (limited to 'Lib/typemaps/string.swg')
-rw-r--r-- | Lib/typemaps/string.swg | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/typemaps/string.swg b/Lib/typemaps/string.swg index 4b7072365..72f4aa5b5 100644 --- a/Lib/typemaps/string.swg +++ b/Lib/typemaps/string.swg @@ -30,6 +30,7 @@ SWIG_strnlen(const char* s, size_t maxlen) %include <typemaps/strings.swg> %typemaps_string(%checkcode(STRING), %checkcode(CHAR), + SWIGWARN_TYPEMAP_CHARLEAK_MSG, char, Char, SWIG_AsCharPtrAndSize, SWIG_FromCharPtrAndSize, strlen, SWIG_strnlen, "<limits.h>", CHAR_MIN, CHAR_MAX) |