14 #warning rubysig.h is obsolete 15 #elif defined _MSC_VER || defined __BORLANDC__ 16 #pragma message("warning: rubysig.h is obsolete") 23 #if defined(__cplusplus) 35 #define TRAP_BEG do {struct rb_blocking_region_buffer *__region = rb_thread_blocking_region_begin(); 36 #define TRAP_END rb_thread_blocking_region_end(__region);} while (0) 37 #define RUBY_CRITICAL(statements) do {statements;} while (0) 38 #define DEFER_INTS (0) 39 #define ENABLE_INTS (1) 40 #define ALLOW_INTS do {CHECK_INTS;} while (0) 41 #define CHECK_INTS rb_thread_check_ints() 45 #if defined(__cplusplus) struct rb_blocking_region_buffer * rb_thread_blocking_region_begin(void)
void rb_thread_blocking_region_end(struct rb_blocking_region_buffer *region)
DEPRECATED(RUBY_EXTERN struct rb_blocking_region_buffer *rb_thread_blocking_region_begin(void))
#define RUBY_SYMBOL_EXPORT_END
#define RUBY_SYMBOL_EXPORT_BEGIN