From 0a3b16a71a28e70ebfc211f2120b7a7e773d3ed1 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 22 Jul 2007 07:07:12 +0000 Subject: * 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 --- include/ruby/intern.h | 1 - include/ruby/ruby.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ruby') 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 -- cgit