diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-07-08 01:47:06 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-07-08 11:31:17 +0900 |
commit | 3c4d788bfe7ea2fe2e9b6c0246237be45a41a12e (patch) | |
tree | 0338cebf51540e39510af936a00c7884c62dfa35 /vm.c | |
parent | f052aa11f218bfd97b1423e3157aa65261ee3f27 (diff) |
macos: symbols for `rb_execution_context_t` should be internal
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/8040
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 21 |
1 files changed, 11 insertions, 10 deletions
@@ -446,16 +446,17 @@ RB_THREAD_LOCAL_SPECIFIER rb_atomic_t ruby_nt_serial; #endif #ifdef __APPLE__ - rb_execution_context_t * - rb_current_ec(void) - { - return ruby_current_ec; - } - void - rb_current_ec_set(rb_execution_context_t *ec) - { - ruby_current_ec = ec; - } +rb_execution_context_t * +rb_current_ec(void) +{ + return ruby_current_ec; +} + +void +rb_current_ec_set(rb_execution_context_t *ec) +{ + ruby_current_ec = ec; +} #endif #else |