mirror of https://github.com/swig/swig.git
v8 14.1 added an EmbedderDataTypeTag to the v8::Object aligned internal field pointer accessors and 14.2 removed the versions without one, so the generated code did not compile with Node.js 26. The new SWIGV8_ALIGNED_POINTER_GET and SWIGV8_ALIGNED_POINTER_SET macros select between them, switching at 14.2 as 14.1 only has the tagged setter. The default tag is used rather than a SWIG specific one. The tag used when setting must match the tag used when getting, and modules pass proxy objects between each other, so a SWIG specific tag would stop a module wrapped by an older SWIG being read by one wrapped by a newer SWIG. v8 14.3 similarly added a type tag to v8::External and deprecated the versions without one, which is fatal as the examples are compiled with -Werror. SWIGV8_EXTERNAL_NEW now selects between them and the new SWIGV8_EXTERNAL_VALUE macro does the same for reading the value back. Node.js 26 is added to the CI test matrix for both the node and napi engines. The minimum supported v8 version is unchanged at 7.4. Assisted-by: Claude Code (Opus 5) |
||
|---|---|---|
| .. | ||
| argcargv.i | ||
| arrays_javascript.i | ||
| ccomplex.i | ||
| cdata.i | ||
| cmalloc.i | ||
| complex.i | ||
| exception.i | ||
| factory.i | ||
| javascript.swg | ||
| javascriptcode.swg | ||
| javascriptcomplex.swg | ||
| javascriptfragments.swg | ||
| javascripthelpers.swg | ||
| javascriptinit.swg | ||
| javascriptprimtypes.swg | ||
| javascriptrun.swg | ||
| javascriptruntime.swg | ||
| javascriptstrings.swg | ||
| javascripttypemaps.swg | ||
| javascriptuint8array.swg | ||
| std_auto_ptr.i | ||
| std_common.i | ||
| std_complex.i | ||
| std_deque.i | ||
| std_except.i | ||
| std_map.i | ||
| std_pair.i | ||
| std_string.i | ||
| std_unique_ptr.i | ||
| std_vector.i | ||
| stl.i | ||
| swigmove.i | ||
| typemaps.i | ||