intern.h: fix declaration
* include/ruby/intern.h (rb_thread_blocking_region): fix declarations prototypes without arguments in C++ have different meanings than C. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d57103b9a2
commit
bb575208bd
@ -1,3 +1,8 @@
|
||||
Sat Jul 14 02:31:55 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* include/ruby/intern.h (rb_thread_blocking_region): fix declarations
|
||||
prototypes without arguments in C++ have different meanings than C.
|
||||
|
||||
Thu Jul 12 12:32:26 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* test/runner.rb: skip default gems to get rid of loading old versions
|
||||
|
@ -824,9 +824,8 @@ typedef void rb_unblock_function_t(void *);
|
||||
typedef VALUE rb_blocking_function_t(void *);
|
||||
void rb_thread_check_ints(void);
|
||||
int rb_thread_interrupted(VALUE thval);
|
||||
VALUE rb_thread_blocking_region(rb_blocking_function_t *func, void *data1,
|
||||
rb_unblock_function_t *ubf, void *data2);
|
||||
DEPRECATED(VALUE rb_thread_blocking_region());
|
||||
DEPRECATED(VALUE rb_thread_blocking_region(rb_blocking_function_t *func, void *data1,
|
||||
rb_unblock_function_t *ubf, void *data2));
|
||||
#define RUBY_UBF_IO ((rb_unblock_function_t *)-1)
|
||||
#define RUBY_UBF_PROCESS ((rb_unblock_function_t *)-1)
|
||||
VALUE rb_mutex_new(void);
|
||||
|
Loading…
x
Reference in New Issue
Block a user