Introduction

UpNext
Up: Contents Next: Getting Started

The program described in this report is intended to help you create interfaces to routines written in C that are callable from Fortran. Specifically, the program bfort takes files containing C programs and generates a new file for each routine that contains a C routine, callable from Fortran, that will correctly call the original C routine. The interface, often called a wrapper routine or just wrapper, handles the issues of Fortran routine name, variables passed by value instead of reference, and values generated and returned by the C library that are pointers to opaque objects.


UpNext
Up: Contents Next: Getting Started