1
0
Fork 0
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:
nobu 2013-04-05 10:29:38 +00:00
parent 5f77f2345c
commit bff997e02b
31 changed files with 75 additions and 191 deletions

View file

@ -15,9 +15,7 @@
#include "ruby/ruby.h"
#include "node.h"
#if defined __GNUC__ && __GNUC__ >= 4
#pragma GCC visibility push(default)
#endif
RUBY_SYMBOL_EXPORT_BEGIN
#define dpv(h,v) ruby_debug_print_value(-1, 0, (h), (v))
#define dp(v) ruby_debug_print_value(-1, 0, "", (v))
@ -34,8 +32,6 @@ void ruby_debug_breakpoint(void);
void ruby_debug_gc_check_func(void);
void ruby_set_debug_option(const char *str);
#if defined __GNUC__ && __GNUC__ >= 4
#pragma GCC visibility pop
#endif
RUBY_SYMBOL_EXPORT_END
#endif /* RUBY_DEBUG_H */