summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-28 12:28:03 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-28 12:28:03 +0000
commita5e6532c4b0adacf481f4449e7bd56254d652136 (patch)
tree6f2afead5610fa0f78fe3a6f699655ef6d2f15dc /vm_core.h
parent97bc1a122b55e026a367e7c92de8b2245efb3b12 (diff)
* 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
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h10
1 files changed, 10 insertions, 0 deletions
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 */