Skip to content

Refactor of generate_swig_iface.py

Description

This MR introduces a refactoring of generate_swig_iface.py, the script that parses the pre-processed SWIG XML interface, and handles generic renaming of objects. This started as an attempt to understand the script so that I could modify it, but that didn't pan out, so the script generates identical* output to what it did before.

*python's dict ordering notwithstanding

This script has also been moved out of /lal/swig into a new generic top-level directory /swig/ - symlinks have been updated. A README.md has been added to that directory in an attempt to document Karl's wizardry in designing the LALSuite SWIG bindings builds.

API Changes and Justification

Backwards Compatible Changes

  • This change introduces no API changes
  • This change adds new API calls

Backwards Incompatible Changes

  • This change modifies an existing API
  • This change removes an existing API

If any of the Backwards Incompatible check boxes are ticked please provide a justification why this change is necessary and why it needs to be done in a backwards incompatible way.

Review Status

Please provide details on any reviews related to this change and and the associated reviewers.

Merge request reports