mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05: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
|
@ -32,9 +32,7 @@
|
|||
|
||||
#include "regint.h"
|
||||
|
||||
#if defined __GNUC__ && __GNUC__ >= 4
|
||||
#pragma GCC visibility push(default)
|
||||
#endif
|
||||
RUBY_SYMBOL_EXPORT_BEGIN
|
||||
|
||||
/* node type */
|
||||
#define NT_STR 0
|
||||
|
@ -360,8 +358,6 @@ extern int onig_print_names(FILE*, regex_t*);
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#if defined __GNUC__ && __GNUC__ >= 4
|
||||
#pragma GCC visibility pop
|
||||
#endif
|
||||
RUBY_SYMBOL_EXPORT_END
|
||||
|
||||
#endif /* ONIGURUMA_REGPARSE_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue