File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
include/clang/Interpreter Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 1717
1818// The cross-platform CPPINTEROP_API macro definition
1919#if defined _WIN32 || defined __CYGWIN__
20- #define CPPINTEROP_API __declspec (dllexport)
20+ #define CPPINTEROP_API __declspec (dllexport)
2121#else
22- #ifdef __GNUC__
23- #define CPPINTEROP_API __attribute__ ((__visibility__(" default" )))
24- #else
25- #define CPPINTEROP_API
26- #endif
22+ #ifdef __GNUC__
23+ #define CPPINTEROP_API __attribute__ ((__visibility__(" default" )))
24+ #else
25+ #define CPPINTEROP_API
26+ #endif
2727#endif
2828
2929namespace Cpp {
@@ -276,8 +276,7 @@ namespace Cpp {
276276 // / is used to get the number of Base Classes, and then that number
277277 // / can be used to iterate through the index value to get each specific
278278 // / base class.
279- CPPINTEROP_API CPPINTEROP_API TCppScope_t GetBaseClass (TCppType_t klass,
280- TCppIndex_t ibase);
279+ CPPINTEROP_API TCppScope_t GetBaseClass (TCppType_t klass, TCppIndex_t ibase);
281280
282281 // / Checks if the supplied Derived Class is a sub-class of the
283282 // / provided Base Class.
@@ -522,7 +521,7 @@ namespace Cpp {
522521
523522 // / Looks up the library if access is enabled.
524523 // /\returns the path to the library.
525- std::string LookupLibrary (const char * lib_name);
524+ CPPINTEROP_API std::string LookupLibrary (const char * lib_name);
526525
527526 // / Finds \c lib_stem considering the list of search paths and loads it by
528527 // / calling dlopen.
You can’t perform that action at this time.
0 commit comments