mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
defines.h: RUBY_SYMBOL_EXPORT_{BEGIN,END}
* include/ruby/defines.h (RUBY_SYMBOL_EXPORT_{BEGIN,END}): visibility control macros. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5f77f2345c
commit
bff997e02b
31 changed files with 75 additions and 191 deletions
8
node.h
8
node.h
|
@ -466,9 +466,7 @@ typedef struct RNode {
|
|||
roomof(type, VALUE)), \
|
||||
MEMO_FOR(type, value))
|
||||
|
||||
#if defined __GNUC__ && __GNUC__ >= 4
|
||||
#pragma GCC visibility push(default)
|
||||
#endif
|
||||
RUBY_SYMBOL_EXPORT_BEGIN
|
||||
|
||||
VALUE rb_parser_new(void);
|
||||
VALUE rb_parser_end_seen_p(VALUE);
|
||||
|
@ -525,9 +523,7 @@ void *rb_parser_realloc(struct parser_params *, void *, size_t);
|
|||
void *rb_parser_calloc(struct parser_params *, size_t, size_t);
|
||||
void rb_parser_free(struct parser_params *, void *);
|
||||
|
||||
#if defined __GNUC__ && __GNUC__ >= 4
|
||||
#pragma GCC visibility pop
|
||||
#endif
|
||||
RUBY_SYMBOL_EXPORT_END
|
||||
|
||||
#if defined(__cplusplus)
|
||||
#if 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue