pyccel.codegen.wrapper.fortran_to_c_wrapper module

pyccel.codegen.wrapper.fortran_to_c_wrapper module#

Module describing the code-wrapping class : FortranToCWrapper which creates an interface exposing Fortran code to C.

class pyccel.codegen.wrapper.fortran_to_c_wrapper.FortranToCWrapper(verbose)[source]#

Bases: Wrapper

Class for creating a wrapper exposing Fortran code to C.

A class which provides all necessary functions for wrapping different AST objects such that the resulting AST is C-compatible. This new AST is printed as an intermediary layer.

Parameters:

verbose (int) – The level of verbosity.