Skip to content

Fixes for SWIG v4.4.0

Detailed Description

  • lal/swig/SWIGPython.i:
    • SwigPyObject_type was renamed to SwigPyObject_Type in v4.4.0
    • use import_array1(0) to import NumPy if available
      • import_array() returns NULL on error which conflicts with the SWIG function it is called from

API Changes

Please tick one of the following options:

  • These changes do not modify the API.
  • These changes do modify the API, and are backwards compatible.
  • These changes do modify the API, and are backwards incompatible.

For examples of changes that do not modify the API and/or are considered backwards (in)compatible, please see the contributing guide.

Justification for Backwards Incompatible Changes

Review Status

Merge request reports

Loading