summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-11-22 23:56:18 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-11-22 23:56:18 +0900
commit053f78e13988e9253d1f207bf5e23d9505112b32 (patch)
tree968f445a02d0321682d270a7cb9f1440cca1567c
parent994435d0efa9931d0475de923c4e6c227d03e398 (diff)
internal.h: Add a prototype declaration for rb_gvar_readonly_setter
emscripten fails to compile ruby due to lack of this.
-rw-r--r--internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index 2399fc9632..1ab70cf8ae 100644
--- a/internal.h
+++ b/internal.h
@@ -2231,6 +2231,7 @@ NORETURN(VALUE rb_mod_const_missing(VALUE,VALUE));
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);