[前][次][番号順一覧][スレッド一覧]

ruby-changes:58883

From: Yusuke <ko1@a...>
Date: Fri, 22 Nov 2019 23:59:12 +0900 (JST)
Subject: [ruby-changes:58883] 053f78e139 (master): internal.h: Add a prototype declaration for rb_gvar_readonly_setter

https://git.ruby-lang.org/ruby.git/commit/?id=053f78e139

From 053f78e13988e9253d1f207bf5e23d9505112b32 Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Fri, 22 Nov 2019 23:56:18 +0900
Subject: internal.h: Add a prototype declaration for rb_gvar_readonly_setter

emscripten fails to compile ruby due to lack of this.

diff --git a/internal.h b/internal.h
index 2399fc9..1ab70cf 100644
--- a/internal.h
+++ b/internal.h
@@ -2231,6 +2231,7 @@ NORETURN(VALUE rb_mod_const_missing(VALUE,VALUE)); https://github.com/ruby/ruby/blob/trunk/internal.h#L2231
 rb_gvar_getter_t *rb_gvar_getter_function_of(const struct rb_global_entry *);
 rb_gvar_setter_t *rb_gvar_setter_function_of(const struct rb_global_entry *);
 bool rb_gvar_is_traced(const struct rb_global_entry *);
+void rb_gvar_readonly_setter(VALUE v, ID id, VALUE *_);
 
 /* vm_insnhelper.h */
 rb_serial_t rb_next_class_serial(void);
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]