Modifying the foo pre-processor

The preprocessor needs to be modified in order to convert capitalised types into Fortran. For example, the conversion BUFFER to buffer_type must be effected. This is done by placing a C-preprocessor macro in the macros file:

#define BUFFER             type(buffer_type)

For memory checkinhg purposes, you should define the size of the new type that you are defining. For example, since a BUFFER is comprised of three integers, a logical variable, a string, and a "big" string, we would define in the macros file

#define BUFFER_SIZE            3*INT_SIZE+BIN_SIZE+STR_SIZE+BSTR_SIZE