summaryrefslogtreecommitdiff
path: root/tests/shared_library_c++/src/interface.h
diff options
context:
space:
mode:
authorruki <[email protected]>2017-05-19 21:30:30 +0800
committerruki <[email protected]>2017-05-19 21:32:13 +0800
commit03b7d8b955d11895cc15332360eca7b14d6cf58f (patch)
tree4aa9b47aa3f1957a0a4343e7b1c4a8357e7018d5 /tests/shared_library_c++/src/interface.h
parent58e3bad5859530c8316de4b4b7939169cdd2c492 (diff)
add projects and modules in tests
Diffstat (limited to 'tests/shared_library_c++/src/interface.h')
-rwxr-xr-xtests/shared_library_c++/src/interface.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/tests/shared_library_c++/src/interface.h b/tests/shared_library_c++/src/interface.h
deleted file mode 100755
index ef24ba3ce..000000000
--- a/tests/shared_library_c++/src/interface.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#if defined(_WIN32)
-# define __export __declspec(dllexport)
-#elif defined(__GNUC__) && ((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3))
-# define __export __attribute__((visibility("default")))
-#else
-# define __export
-#endif
-
-/*! calculate add(a, b)
- *
- * @param a the first argument
- * @param b the second argument
- *
- * @return the result
- */
-__export int add(int a, int b);
-
-#ifdef __cplusplus
-}
-#endif