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 | 0a3b16a71a28e70ebfc211f2120b7a7e773d3ed1 (patch) | |
| tree | 4954a3e935f12975dbc26666b4ae5b4fc34eae34 /include/ruby | |
| parent | 692349734c91d214effa8ebc446c4f128e0fe098 (diff) | |
| download | ruby-0a3b16a71a28e70ebfc211f2120b7a7e773d3ed1.tar.gz ruby-0a3b16a71a28e70ebfc211f2120b7a7e773d3ed1.tar.xz ruby-0a3b16a71a28e70ebfc211f2120b7a7e773d3ed1.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@12837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
| -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 b514957cd..301337094 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 b9fea86fa..ecf9088c7 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 |
