Ruby
2.7.2p137(2020-10-01revision5445e0435260b449decf2ac16f9d09bae3cafe72)
include
ruby
backward
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
30
RUBY_SYMBOL_EXPORT_BEGIN
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
38
RUBY_SYMBOL_EXPORT_END
39
40
#if defined(__cplusplus)
41
#if 0
42
{
/* satisfy cc-mode */
43
#endif
44
}
/* extern "C" { */
45
#endif
46
47
#endif
RUBY_SYMBOL_EXPORT_END
#define RUBY_SYMBOL_EXPORT_END
Definition:
missing.h:49
ruby.h
RUBY_SYMBOL_EXPORT_BEGIN
#define RUBY_SYMBOL_EXPORT_BEGIN
Definition:
missing.h:48
Generated by
1.8.20