mirror of https://github.com/swig/swig
Javascript jsc c++20 testing quirk fix
This commit is contained in:
parent
b0c7e23858
commit
4574198553
|
@ -329,6 +329,12 @@ jobs:
|
||||||
CPPSTD: c++20
|
CPPSTD: c++20
|
||||||
GCC: 13
|
GCC: 13
|
||||||
os: ubuntu-22.04
|
os: ubuntu-22.04
|
||||||
|
- SWIGLANG: javascript
|
||||||
|
ENGINE: jsc
|
||||||
|
CPPSTD: c++20
|
||||||
|
VER: '4.1'
|
||||||
|
GCC: 13
|
||||||
|
os: ubuntu-22.04
|
||||||
- SWIGLANG: javascript
|
- SWIGLANG: javascript
|
||||||
ENGINE: napi
|
ENGINE: napi
|
||||||
VER: '22'
|
VER: '22'
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
%module typemap_array_qualifiers
|
%module typemap_array_qualifiers
|
||||||
|
|
||||||
|
// Including this fragment ensures math.h is included before the '#define volatile' below,
|
||||||
|
// without which gave peculiar partial specialization errors for javascript jsc and -std=c++20
|
||||||
|
// - volatile is used in the template parameters of numeric_limits on Linux.
|
||||||
|
%fragment("<math.h>");
|
||||||
|
|
||||||
%define CLEAR_SWIGTYPE_TYPEMAPS
|
%define CLEAR_SWIGTYPE_TYPEMAPS
|
||||||
%typemap(in)
|
%typemap(in)
|
||||||
SWIGTYPE,
|
SWIGTYPE,
|
||||||
|
|
Loading…
Reference in New Issue