1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/include/ruby
Koichi Sasada 1feda1c2b0 constify again.
Same as last commit, make some fields `const`.

include/ruby/ruby.h:
* Rasic::klass
* RArray::heap::aux::shared_root
* RRegexp::src
internal.h:
* rb_classext_struct::origin_, redefined_class
* vm_svar::cref_or_me, lastline, backref, others
* vm_throw_data::throw_obj
* vm_ifunc::data
* MEMO::v1, v2, u3::value

While modifying this patch, I found write-barrier miss on
rb_classext_struct::redefined_class.

Also vm_throw_data::throw_state is only `int` so change the type.
2019-07-22 17:53:10 +09:00
..
backward
assert.h Always evaluate the expression RUBY_ASSERT_MESG_WHEN just once 2019-07-15 17:45:37 +09:00
backward.h
debug.h
defines.h Remove IA64 support. 2019-06-19 23:30:04 +12:00
encoding.h
intern.h Revert "marshal.c: new functions for extensions" 2019-06-04 19:06:19 +09:00
io.h
missing.h
onigmo.h Reduce ONIG_NREGION from 10 to 4: power of 2 and testing revealed most pattern matches are less than or equal to 4 results 2019-05-07 21:58:55 +09:00
oniguruma.h
re.h Remove member char_offset_updated from struct rmatch as member char_offset_num_allocated can serve the same purpose as that predicate 2019-04-24 02:02:05 +09:00
regex.h
ruby.h constify again. 2019-07-22 17:53:10 +09:00
st.h Add GC.compact again. 2019-04-20 01:19:47 +00:00
subst.h
thread.h introduce rb_nogvl C-API to mark ubf as async-signal-safe 2019-01-04 13:14:11 +00:00
thread_native.h
util.h
version.h version.h (RUBY_VERSION): 2.7.0 development has started. 2018-12-25 13:45:17 +00:00
vm.h ViewVC of svn.ruby-lang.org was shutdown status. 2019-04-22 19:37:22 +09:00
win32.h