diff options
author | Stefan Radomski <github@mintwerk.de> | 2016-12-02 14:18:33 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2016-12-02 14:18:33 (GMT) |
commit | 03ef761afd6a4c597c0e3fa1714cc947581e2a48 (patch) | |
tree | d2671b2c22c45931c24e2c8d450d2d2e70a840fb /src/bindings/swig/lua/uscxml.i | |
parent | 044fefae99320aa575523eab90032f9e9d8b498c (diff) | |
download | uscxml-03ef761afd6a4c597c0e3fa1714cc947581e2a48.zip uscxml-03ef761afd6a4c597c0e3fa1714cc947581e2a48.tar.gz uscxml-03ef761afd6a4c597c0e3fa1714cc947581e2a48.tar.bz2 |
Fixed Lua wchar problem for old swig intallations
Diffstat (limited to 'src/bindings/swig/lua/uscxml.i')
-rw-r--r-- | src/bindings/swig/lua/uscxml.i | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bindings/swig/lua/uscxml.i b/src/bindings/swig/lua/uscxml.i index 9774cba..9c2f115 100644 --- a/src/bindings/swig/lua/uscxml.i +++ b/src/bindings/swig/lua/uscxml.i @@ -3,6 +3,12 @@ // provide a macro for the header files #define SWIGIMPORTED 1 +// fixing a bug for old swig versions with lua wchar: +// https://github.com/swig/swig/commit/c7ef5935496a04f3a83c70af6f841abf3ad7606e +%{ +#define wchar wchar_t +%} + %include <stl.i> %include <std_map.i> %include <std_string.i> |