Skip to content

Draft: Fortran Binding Automation for char Arguments

This MR builds upon the automation introduced in MR !8469 (merged) for handling char arguments in PETSc's Fortran bindings. Improves the detection and mapping of C string argument patterns and introduces a test to validate.

  • Detect and annotate all C char argument patterns (char, char*, const char*, char[], etc.), including direction (input/output) and metadata.
  • Automatically generate Fortran interface.
  • Map C string types to appropriate Fortran character(*) declarations.

Merge request reports

Loading