Ruby 1.9.2p136(2010-12-25revision30365)

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

# include/ruby/backward/rubysig.h

Go to the documentation of this file.

    00001 /**********************************************************************
    00002
    00003   rubysig.h -
    00004
    00005   $Author: akr $
    00006   $Date: 2009-10-02 21:04:37 +0900 (Fri, 02 Oct 2009) $
    00007   created at: Wed Aug 16 01:15:38 JST 1995
    00008
    00009   Copyright (C) 1993-2008 Yukihiro Matsumoto
    00010
    00011 **********************************************************************/
    00012
    00013 #if   defined __GNUC__
    00014 #warning rubysig.h is obsolete
    00015 #elif defined _MSC_VER || defined __BORLANDC__
    00016 #pragma message("warning: rubysig.h is obsolete")
    00017 #endif
    00018
    00019 #ifndef RUBYSIG_H
    00020 #define RUBYSIG_H
    00021 #include "ruby/ruby.h"
    00022
    00023 #if defined(__cplusplus)
    00024 extern "C" {
    00025 #if 0
    00026 } /* satisfy cc-mode */
    00027 #endif
    00028 #endif
    00029
    00030 struct rb_blocking_region_buffer;
    00031 DEPRECATED(RUBY_EXTERN struct rb_blocking_region_buffer *rb_thread_blocking_region_begin(void));
    00032 DEPRECATED(RUBY_EXTERN void rb_thread_blocking_region_end(struct rb_blocking_region_buffer *));
    00033 #define TRAP_BEG do {struct rb_blocking_region_buffer *__region = rb_thread_blocking_region_begin();
    00034 #define TRAP_END rb_thread_blocking_region_end(__region);} while (0)
    00035 #define RUBY_CRITICAL(statements) do {statements;} while (0)
    00036 #define DEFER_INTS (0)
    00037 #define ENABLE_INTS (1)
    00038 #define ALLOW_INTS do {CHECK_INTS;} while (0)
    00039 #define CHECK_INTS rb_thread_check_ints()
    00040
    00041 #if defined(__cplusplus)
    00042 #if 0
    00043 { /* satisfy cc-mode */
    00044 #endif
    00045 }  /* extern "C" { */
    00046 #endif
    00047
    00048 #endif
    00049