aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-07-22 07:07:12 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-07-22 07:07:12 +0000
commitfb00d61acf3e7f3c8c839f25c4a9c094349160f3 (patch)
tree4954a3e935f12975dbc26666b4ae5b4fc34eae34
parentf1622c195da92aaaa0200d3afcf44f58c0cf29d9 (diff)
downloadruby-fb00d61acf3e7f3c8c839f25c4a9c094349160f3.tar.gz
* 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
-rw-r--r--ChangeLog8
-rw-r--r--include/ruby/intern.h1
-rw-r--r--include/ruby/ruby.h1
-rw-r--r--thread.c2
-rw-r--r--version.h6
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 <nobu@ruby-lang.org>
+
+ * 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 <nobu@ruby-lang.org>
* 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[];