summarylogtreecommitdiffstats
path: root/cblas_mangling.h
diff options
context:
space:
mode:
authortuxzz2020-06-02 18:55:23 +0800
committertuxzz2020-06-02 18:55:23 +0800
commit44130ae2740a201561a00f8602144954b6421cc5 (patch)
treecd741b2d1d0c8a397564a77c83dbc97123039719 /cblas_mangling.h
downloadaur-blis-cblas.tar.gz
init commit
Diffstat (limited to 'cblas_mangling.h')
-rw-r--r--cblas_mangling.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/cblas_mangling.h b/cblas_mangling.h
new file mode 100644
index 00000000000..d833979d294
--- /dev/null
+++ b/cblas_mangling.h
@@ -0,0 +1,16 @@
+#ifndef F77_HEADER_INCLUDED
+#define F77_HEADER_INCLUDED
+
+/* Mangling for Fortran global symbols without underscores. */
+#define F77_GLOBAL(name,NAME) name##_
+
+/* Mangling for Fortran global symbols with underscores. */
+#define F77_GLOBAL_(name,NAME) name##_
+
+/* Mangling for Fortran module symbols without underscores. */
+#define F77_MODULE(mod_name,name, mod_NAME,NAME) __##mod_name##_MOD_##name
+
+/* Mangling for Fortran module symbols with underscores. */
+#define F77_MODULE_(mod_name,name, mod_NAME,NAME) __##mod_name##_MOD_##name
+
+#endif