FLASH-X
Doxygen Generated Documentation From Interface Source Code
mangle_names.h
Go to the documentation of this file.
1/****** source/IO/mangle_names.h
2 *
3 * NAME
4 * FTOC
5 * SYNPOPSIS
6 * FTOC(C_function_name)(args....)
7 * FUNCTION
8 * This will contain a number of macros for mangling
9 * C routine names into something that FORTRAN can link to.
10 * SWITCHES
11 * So far, this deals only with
12 * NOUNDERSCORE
13 * which is what the IBMs need.
14 *
15 ******/
16
17#ifdef IBM
18#define NOUNDERSCORE
19#endif
20
21#ifdef NOUNDERSCORE
22#define FTOC(x) x
23#else
24#define FTOC(x) x##_
25#endif
26int Driver_abortC(char* message);
27void free(void *ptr);
int Driver_abortC(char *message)
void free(void *ptr)