Ruby  2.5.0dev(2017-10-22revision60238)
rubysig.h
Go to the documentation of this file.
1 /**********************************************************************
2 
3  rubysig.h -
4 
5  $Author$
6  $Date$
7  created at: Wed Aug 16 01:15:38 JST 1995
8 
9  Copyright (C) 1993-2008 Yukihiro Matsumoto
10 
11 **********************************************************************/
12 
13 #if defined __GNUC__
14 #warning rubysig.h is obsolete
15 #elif defined _MSC_VER
16 #pragma message("warning: rubysig.h is obsolete")
17 #endif
18 
19 #ifndef RUBYSIG_H
20 #define RUBYSIG_H
21 #include "ruby/ruby.h"
22 
23 #if defined(__cplusplus)
24 extern "C" {
25 #if 0
26 } /* satisfy cc-mode */
27 #endif
28 #endif
29 
31 
32 #define RUBY_CRITICAL(statements) do {statements;} while (0)
33 #define DEFER_INTS (0)
34 #define ENABLE_INTS (1)
35 #define ALLOW_INTS do {CHECK_INTS;} while (0)
36 #define CHECK_INTS rb_thread_check_ints()
37 
39 
40 #if defined(__cplusplus)
41 #if 0
42 { /* satisfy cc-mode */
43 #endif
44 } /* extern "C" { */
45 #endif
46 
47 #endif
#define RUBY_SYMBOL_EXPORT_END
Definition: missing.h:49
#define RUBY_SYMBOL_EXPORT_BEGIN
Definition: missing.h:48