From a5e6532c4b0adacf481f4449e7bd56254d652136 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 28 Jul 2010 12:28:03 +0000 Subject: * vm_core.h (rb_thread_check_trap_pending): hidden API for tcl/tk wrapper. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_core.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'vm_core.h') diff --git a/vm_core.h b/vm_core.h index a30f4c9b87..dea19fa71b 100644 --- a/vm_core.h +++ b/vm_core.h @@ -697,4 +697,14 @@ rb_threadptr_exec_event_hooks(rb_thread_t *th, rb_event_flag_t flag, VALUE self, } \ } while (0) +#if defined __GNUC__ && __GNUC__ >= 4 +#pragma GCC visibility push(default) +#endif + +int rb_thread_check_trap_pending(void); + +#if defined __GNUC__ && __GNUC__ >= 4 +#pragma GCC visibility pop +#endif + #endif /* RUBY_VM_CORE_H */ -- cgit v1.2.3