Skip to content

Commit

Permalink
Add superlu_FortranCInterface.h; it is generated by cmake.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyeli committed Feb 27, 2020
1 parent 53a46b7 commit 0dcb60f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions SRC/superlu_FortranCInterface.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#ifndef FC_HEADER_INCLUDED
#define FC_HEADER_INCLUDED

/* Mangling for Fortran global symbols without underscores. */
#define FC_GLOBAL(name,NAME) name##_

/* Mangling for Fortran global symbols with underscores. */
#define FC_GLOBAL_(name,NAME) name##_

/* Mangling for Fortran module symbols without underscores. */
#define FC_MODULE(mod_name,name, mod_NAME,NAME) __##mod_name##_MOD_##name

/* Mangling for Fortran module symbols with underscores. */
#define FC_MODULE_(mod_name,name, mod_NAME,NAME) __##mod_name##_MOD_##name

#endif

0 comments on commit 0dcb60f

Please sign in to comment.