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 17
17
18
18
// The cross-platform CPPINTEROP_API macro definition
19
19
#if defined _WIN32 || defined __CYGWIN__
20
- #define CPPINTEROP_API __declspec (dllexport)
20
+ #define CPPINTEROP_API __declspec (dllexport)
21
21
#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
27
27
#endif
28
28
29
29
namespace Cpp {
@@ -276,8 +276,7 @@ namespace Cpp {
276
276
// / is used to get the number of Base Classes, and then that number
277
277
// / can be used to iterate through the index value to get each specific
278
278
// / 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);
281
280
282
281
// / Checks if the supplied Derived Class is a sub-class of the
283
282
// / provided Base Class.
@@ -522,7 +521,7 @@ namespace Cpp {
522
521
523
522
// / Looks up the library if access is enabled.
524
523
// /\returns the path to the library.
525
- std::string LookupLibrary (const char * lib_name);
524
+ CPPINTEROP_API std::string LookupLibrary (const char * lib_name);
526
525
527
526
// / Finds \c lib_stem considering the list of search paths and loads it by
528
527
// / calling dlopen.
You can’t perform that action at this time.
0 commit comments