зеркало из https://github.com/github/ruby.git
* include/ruby/backward/rubysig.h: extern "C" was missing.
[ruby-core:21929] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
a23547cafa
Коммит
e1fc88726e
|
@ -1,3 +1,8 @@
|
|||
Sun Feb 8 19:05:24 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* include/ruby/backward/rubysig.h: extern "C" was missing.
|
||||
[ruby-core:21929]
|
||||
|
||||
Sun Feb 8 18:46:15 2009 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/socket/ancdata.c (anc_inspect_passcred_credentials): new
|
||||
|
|
|
@ -20,6 +20,13 @@
|
|||
#define RUBYSIG_H
|
||||
#include "ruby/ruby.h"
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#if 0
|
||||
} /* satisfy cc-mode */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
struct rb_blocking_region_buffer;
|
||||
RUBY_EXTERN struct rb_blocking_region_buffer *rb_thread_blocking_region_begin(void);
|
||||
RUBY_EXTERN void rb_thread_blocking_region_end(struct rb_blocking_region_buffer *);
|
||||
|
@ -30,4 +37,12 @@ RUBY_EXTERN void rb_thread_blocking_region_end(struct rb_blocking_region_buffer
|
|||
#define ENABLE_INTS (1)
|
||||
#define ALLOW_INTS do {CHECK_INTS;} while (0)
|
||||
#define CHECK_INTS rb_thread_check_ints()
|
||||
|
||||
#if defined(__cplusplus)
|
||||
#if 0
|
||||
{ /* satisfy cc-mode */
|
||||
#endif
|
||||
} /* extern "C" { */
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче