diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-22 07:07:12 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-22 07:07:12 +0000 |
commit | fb00d61acf3e7f3c8c839f25c4a9c094349160f3 (patch) | |
tree | 4954a3e935f12975dbc26666b4ae5b4fc34eae34 /include | |
parent | f1622c195da92aaaa0200d3afcf44f58c0cf29d9 (diff) | |
download | ruby-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
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/intern.h | 1 | ||||
-rw-r--r-- | include/ruby/ruby.h | 1 |
2 files changed, 1 insertions, 1 deletions
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 |