summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
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 */