ruby-changes:68151
From: S-H-GAMELINKS <ko1@a...>
Date: Tue, 28 Sep 2021 14:08:28 +0900 (JST)
Subject: [ruby-changes:68151] 1e9a688cd5 (master): Move some function declaration to internal/io.h
https://git.ruby-lang.org/ruby.git/commit/?id=1e9a688cd5 From 1e9a688cd55d825d8c77c74c62d4b642ef492659 Mon Sep 17 00:00:00 2001 From: S-H-GAMELINKS <gamelinks007@g...> Date: Tue, 28 Sep 2021 13:00:16 +0900 Subject: Move some function declaration to internal/io.h --- internal/io.h | 4 ++++ thread.c | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/internal/io.h b/internal/io.h index 1d2a866b6e..b5f15499d7 100644 --- a/internal/io.h +++ b/internal/io.h @@ -24,6 +24,10 @@ void rb_io_fptr_finalize_internal(void *ptr); https://github.com/ruby/ruby/blob/trunk/internal/io.h#L24 #define rb_io_fptr_finalize rb_io_fptr_finalize_internal VALUE rb_io_popen(VALUE pname, VALUE pmode, VALUE env, VALUE opt); +VALUE rb_io_prep_stdin(void); +VALUE rb_io_prep_stdout(void); +VALUE rb_io_prep_stderr(void); + RUBY_SYMBOL_EXPORT_BEGIN /* io.c (export) */ void rb_maygvl_fd_fix_cloexec(int fd); diff --git a/thread.c b/thread.c index 9008467206..9357d14b8a 100644 --- a/thread.c +++ b/thread.c @@ -778,11 +778,6 @@ thread_do_start(rb_thread_t *th) https://github.com/ruby/ruby/blob/trunk/thread.c#L778 void rb_ec_clear_current_thread_trace_func(const rb_execution_context_t *ec); -// io.c -VALUE rb_io_prep_stdin(void); -VALUE rb_io_prep_stdout(void); -VALUE rb_io_prep_stderr(void); - static int thread_start_func_2(rb_thread_t *th, VALUE *stack_start) { -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/