From fb00d61acf3e7f3c8c839f25c4a9c094349160f3 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 22 Jul 2007 07:07:12 +0000 Subject: [PATCH] * thread.c (is_ruby_native_thread): made an int function as well as version 1.8. * include/ruby/ruby.h (is_ruby_native_thread): moved prototype from intern.h as well as version 1.8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 8 ++++++++ include/ruby/intern.h | 1 - include/ruby/ruby.h | 1 + thread.c | 2 +- version.h | 6 +++--- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index c7f8808b62..3c60338741 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Sun Jul 22 16:06:56 2007 Nobuyoshi Nakada + + * thread.c (is_ruby_native_thread): made an int function as + well as version 1.8. + + * include/ruby/ruby.h (is_ruby_native_thread): moved prototype + from intern.h as well as version 1.8. + Sun Jul 22 14:33:46 2007 Nobuyoshi Nakada * file.c (rb_file_s_rename): deleted code to get rid of a bug of diff --git a/include/ruby/intern.h b/include/ruby/intern.h index b514957cd6..301337094a 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -280,7 +280,6 @@ VALUE rb_thread_local_aref(VALUE, ID); VALUE rb_thread_local_aset(VALUE, ID, VALUE); void rb_thread_atfork(void); VALUE rb_exec_recursive(VALUE(*)(VALUE, VALUE, int),VALUE,VALUE); -VALUE is_ruby_native_thread(void); /* file.c */ VALUE rb_file_s_expand_path(int, VALUE *); VALUE rb_file_expand_path(VALUE, VALUE); diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index b9fea86fa1..ecf9088c79 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -868,6 +868,7 @@ static char *dln_libs_to_be_linked[] = { EXTLIB, 0 }; #define RUBY_VM 1 /* YARV */ #define HAVE_NATIVETHREAD +int is_ruby_native_thread(void); #if defined(__cplusplus) #if 0 diff --git a/thread.c b/thread.c index d00cc45a71..a70115fc63 100644 --- a/thread.c +++ b/thread.c @@ -2962,7 +2962,7 @@ Init_Thread(void) rb_thread_create_timer_thread(); } -VALUE +int is_ruby_native_thread(void) { return Qtrue; diff --git a/version.h b/version.h index b56c7d214a..f5a7da1587 100644 --- a/version.h +++ b/version.h @@ -1,7 +1,7 @@ #define RUBY_VERSION "1.9.0" -#define RUBY_RELEASE_DATE "2007-07-21" +#define RUBY_RELEASE_DATE "2007-07-22" #define RUBY_VERSION_CODE 190 -#define RUBY_RELEASE_CODE 20070721 +#define RUBY_RELEASE_CODE 20070722 #define RUBY_PATCHLEVEL 0 #define RUBY_VERSION_MAJOR 1 @@ -9,7 +9,7 @@ #define RUBY_VERSION_TEENY 0 #define RUBY_RELEASE_YEAR 2007 #define RUBY_RELEASE_MONTH 7 -#define RUBY_RELEASE_DAY 21 +#define RUBY_RELEASE_DAY 22 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[];