mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
6f8b0e9bb0
include/ruby/io.h, include/ruby/ruby.h, include/ruby/win32.h, include/ruby/backward/rubysig.h, bignum.c, gc.c, io.c, process.c, safe.c, struct.c, thread.c, ext/socket/rubysocket.h, ext/-test-/old_thread_select: Remove deprecated definitions [ruby-core:60581] [Feature #9502] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
47 lines
919 B
C
47 lines
919 B
C
/**********************************************************************
|
|
|
|
rubysig.h -
|
|
|
|
$Author$
|
|
$Date$
|
|
created at: Wed Aug 16 01:15:38 JST 1995
|
|
|
|
Copyright (C) 1993-2008 Yukihiro Matsumoto
|
|
|
|
**********************************************************************/
|
|
|
|
#if defined __GNUC__
|
|
#warning rubysig.h is obsolete
|
|
#elif defined _MSC_VER || defined __BORLANDC__
|
|
#pragma message("warning: rubysig.h is obsolete")
|
|
#endif
|
|
|
|
#ifndef RUBYSIG_H
|
|
#define RUBYSIG_H
|
|
#include "ruby/ruby.h"
|
|
|
|
#if defined(__cplusplus)
|
|
extern "C" {
|
|
#if 0
|
|
} /* satisfy cc-mode */
|
|
#endif
|
|
#endif
|
|
|
|
RUBY_SYMBOL_EXPORT_BEGIN
|
|
|
|
#define RUBY_CRITICAL(statements) do {statements;} while (0)
|
|
#define DEFER_INTS (0)
|
|
#define ENABLE_INTS (1)
|
|
#define ALLOW_INTS do {CHECK_INTS;} while (0)
|
|
#define CHECK_INTS rb_thread_check_ints()
|
|
|
|
RUBY_SYMBOL_EXPORT_END
|
|
|
|
#if defined(__cplusplus)
|
|
#if 0
|
|
{ /* satisfy cc-mode */
|
|
#endif
|
|
} /* extern "C" { */
|
|
#endif
|
|
|
|
#endif
|