1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

internal.h: Add a prototype declaration for rb_gvar_readonly_setter

emscripten fails to compile ruby due to lack of this.
This commit is contained in:
Yusuke Endoh 2019-11-22 23:56:18 +09:00
parent 994435d0ef
commit 053f78e139

View file

@ -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_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 *); rb_gvar_setter_t *rb_gvar_setter_function_of(const struct rb_global_entry *);
bool rb_gvar_is_traced(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 */ /* vm_insnhelper.h */
rb_serial_t rb_next_class_serial(void); rb_serial_t rb_next_class_serial(void);