File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
lib/cext/include/truffleruby Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 18
18
extern "C" {
19
19
#endif
20
20
21
+ RUBY_SYMBOL_EXPORT_BEGIN
22
+
21
23
#define TRUFFLERUBY
22
24
23
25
#include <graalvm/llvm/polyglot.h>
@@ -53,7 +55,7 @@ POLYGLOT_DECLARE_TYPE(VALUE)
53
55
extern void * rb_tr_cext ;
54
56
#define RUBY_CEXT rb_tr_cext
55
57
56
- void * rb_tr_abi_version (void ) __attribute__((weak )) __attribute__(( visibility ( "default" ))) ;
58
+ void * rb_tr_abi_version (void ) __attribute__((weak ));
57
59
void * rb_tr_abi_version (void ) {
58
60
char * abi_version = STRINGIZE (TRUFFLERUBY_ABI_VERSION );
59
61
return polyglot_from_string (abi_version , "US-ASCII" );
@@ -75,6 +77,8 @@ extern ID (*rb_tr_sym2id)(VALUE sym);
75
77
#define offsetof (p_type ,field ) ((size_t)&(((p_type *)0)->field))
76
78
#endif
77
79
80
+ RUBY_SYMBOL_EXPORT_END
81
+
78
82
#if defined(__cplusplus )
79
83
}
80
84
#endif
You can’t perform that action at this time.
0 commit comments