datadog-ruby_core_source 3.4.1 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/id.h +357 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/id_table.h +15 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/array.h +2 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/basic_operators.h +66 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/bignum.h +256 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/bits.h +647 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/box.h +83 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/class.h +806 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/cmdlineopt.h +3 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/concurrent_set.h +21 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/cont.h +34 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/encoding.h +2 -1
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/error.h +7 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/eval.h +43 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/gc.h +360 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/hash.h +1 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/imemo.h +87 -22
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/inits.h +4 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/io.h +25 -5
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/load.h +2 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/numeric.h +323 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/object.h +1 -1
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/re.h +5 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/sanitizers.h +16 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/set_table.h +70 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/signal.h +1 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/st.h +1 -1
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/string.h +4 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/struct.h +41 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/symbol.h +4 -5
- data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/thread.h +112 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/time.h +34 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/variable.h +13 -9
- data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/vm.h +138 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal.h +0 -3
- data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/iseq.h +359 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/method.h +276 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/prism/ast.h +8254 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/prism/diagnostic.h +7 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/prism/extension.h +1 -1
- data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/prism/options.h +488 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/prism/parser.h +3 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/prism/prism.h +408 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/prism/regexp.h +2 -2
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/prism/util/pm_buffer.h +8 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/prism/util/pm_integer.h +4 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/prism/util/pm_list.h +6 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/prism/util/pm_string.h +12 -2
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/prism/version.h +2 -2
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/prism_compile.h +1 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/ractor_core.h +63 -114
- data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/ruby_atomic.h +73 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/rubyparser.h +1393 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/shape.h +464 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/thread_pthread.h +177 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/vm_core.h +2406 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/vm_debug.h +124 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/ccan/build_assert/build_assert.h +40 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/ccan/check_type/check_type.h +63 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/ccan/container_of/container_of.h +142 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/ccan/list/list.h +791 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/ccan/str/str.h +17 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-preview2}/id.h +7 -5
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/id_table.h +54 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/array.h +154 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-preview2}/internal/bignum.h +1 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/box.h +81 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/class.h +805 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/cmdlineopt.h +64 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/compar.h +29 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/compile.h +34 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/compilers.h +107 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/complex.h +29 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/concurrent_set.h +21 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/dir.h +16 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/enc.h +19 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/encoding.h +39 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/enum.h +18 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/enumerator.h +21 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/error.h +251 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-preview2}/internal/eval.h +8 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/file.h +38 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/fixnum.h +185 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-preview2}/internal/gc.h +25 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/hash.h +194 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/imemo.h +322 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/inits.h +51 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/io.h +163 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/load.h +20 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/loadpath.h +16 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/math.h +23 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/missing.h +19 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-preview2}/internal/numeric.h +1 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/object.h +63 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/parse.h +131 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/proc.h +30 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/process.h +124 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/ractor.h +10 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/random.h +17 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/range.h +40 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/rational.h +71 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/re.h +33 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/ruby_parser.h +102 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/sanitizers.h +346 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/serial.h +23 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/set_table.h +70 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/signal.h +25 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/st.h +11 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/static_assert.h +16 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/string.h +203 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/struct.h +160 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/symbol.h +46 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-preview2}/internal/thread.h +14 -10
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/transcode.h +23 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/util.h +27 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/variable.h +74 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-preview2}/internal/vm.h +3 -4
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal/warnings.h +16 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/internal.h +105 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-preview2}/iseq.h +7 -1
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-preview2}/method.h +14 -1
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/node.h +122 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/parser_st.h +162 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/parser_value.h +106 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-preview2}/prism/ast.h +322 -53
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/prism/defines.h +260 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/prism/diagnostic.h +458 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/prism/encoding.h +283 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/prism/extension.h +19 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/prism/node.h +129 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-preview2}/prism/options.h +46 -3
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/prism/pack.h +163 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/prism/parser.h +936 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/prism/prettyprint.h +34 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-preview2}/prism/prism.h +39 -14
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/prism/regexp.h +43 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/prism/static_literals.h +121 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/prism/util/pm_buffer.h +236 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/prism/util/pm_char.h +204 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/prism/util/pm_constant_pool.h +218 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/prism/util/pm_integer.h +130 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/prism/util/pm_list.h +103 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/prism/util/pm_memchr.h +29 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/prism/util/pm_newline_list.h +113 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/prism/util/pm_string.h +200 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/prism/util/pm_strncasecmp.h +32 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/prism/util/pm_strpbrk.h +46 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/prism/version.h +29 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/prism_compile.h +106 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/ractor_core.h +306 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/ruby_assert.h +14 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/ruby_atomic.h +66 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-preview2}/rubyparser.h +15 -1
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/shape.h +444 -0
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/thread_none.h +21 -0
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-preview2}/thread_pthread.h +10 -2
- data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-preview2}/vm_core.h +160 -45
- data/lib/datadog/ruby_core_source/ruby-4.0.0-preview2/vm_opts.h +67 -0
- data/lib/datadog/ruby_core_source/version.rb +1 -1
- data/lib/datadog/ruby_core_source.rb +1 -1
- metadata +214 -106
- data/CHANGELOG.datadog.md +0 -19
- data/lib/datadog/ruby_core_source/ruby-3.5.0-preview1/internal/class.h +0 -283
- data/lib/datadog/ruby_core_source/ruby-3.5.0-preview1/ruby_atomic.h +0 -23
- data/lib/datadog/ruby_core_source/ruby-3.5.0-preview1/shape.h +0 -234
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/ccan/build_assert/build_assert.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/ccan/check_type/check_type.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/ccan/container_of/container_of.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/ccan/list/list.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/ccan/str/str.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/compar.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/compile.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/compilers.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/complex.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/dir.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/enc.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/enum.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/enumerator.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/file.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/fixnum.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/loadpath.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/math.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/missing.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/parse.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/proc.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/process.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/ractor.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/random.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/range.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/rational.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/ruby_parser.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/serial.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/static_assert.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/transcode.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/util.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/internal/warnings.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/node.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/parser_st.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/parser_value.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/prism/defines.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/prism/encoding.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/prism/node.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/prism/pack.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/prism/prettyprint.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/prism/static_literals.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/prism/util/pm_char.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/prism/util/pm_constant_pool.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/prism/util/pm_memchr.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/prism/util/pm_newline_list.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/prism/util/pm_strncasecmp.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/prism/util/pm_strpbrk.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/ruby_assert.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/thread_none.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-p0}/vm_opts.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-preview2}/internal/basic_operators.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-preview2}/internal/bits.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-preview2}/internal/cont.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-preview2}/internal/time.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-preview2}/vm_debug.h +0 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
#ifndef INTERNAL_CMDLINEOPT_H /*-*-C-*-vi:se ft=c:*/
|
|
2
|
+
#define INTERNAL_CMDLINEOPT_H
|
|
3
|
+
|
|
4
|
+
#include "yjit.h"
|
|
5
|
+
|
|
6
|
+
typedef struct {
|
|
7
|
+
unsigned int mask;
|
|
8
|
+
unsigned int set;
|
|
9
|
+
} ruby_features_t;
|
|
10
|
+
|
|
11
|
+
typedef struct ruby_cmdline_options {
|
|
12
|
+
const char *script;
|
|
13
|
+
VALUE script_name;
|
|
14
|
+
VALUE e_script;
|
|
15
|
+
struct {
|
|
16
|
+
struct {
|
|
17
|
+
VALUE name;
|
|
18
|
+
int index;
|
|
19
|
+
} enc;
|
|
20
|
+
} src, ext, intern;
|
|
21
|
+
VALUE req_list;
|
|
22
|
+
ruby_features_t features;
|
|
23
|
+
ruby_features_t warn;
|
|
24
|
+
unsigned int dump;
|
|
25
|
+
long backtrace_length_limit;
|
|
26
|
+
|
|
27
|
+
const char *crash_report;
|
|
28
|
+
|
|
29
|
+
signed int sflag: 2;
|
|
30
|
+
unsigned int xflag: 1;
|
|
31
|
+
unsigned int warning: 1;
|
|
32
|
+
unsigned int verbose: 1;
|
|
33
|
+
unsigned int do_loop: 1;
|
|
34
|
+
unsigned int do_print: 1;
|
|
35
|
+
unsigned int do_line: 1;
|
|
36
|
+
unsigned int do_split: 1;
|
|
37
|
+
unsigned int do_search: 1;
|
|
38
|
+
unsigned int setids: 2;
|
|
39
|
+
#if USE_YJIT
|
|
40
|
+
unsigned int yjit: 1;
|
|
41
|
+
#endif
|
|
42
|
+
#if USE_ZJIT
|
|
43
|
+
unsigned int zjit: 1;
|
|
44
|
+
#endif
|
|
45
|
+
} ruby_cmdline_options_t;
|
|
46
|
+
|
|
47
|
+
struct ruby_opt_message {
|
|
48
|
+
const char *str;
|
|
49
|
+
unsigned short namelen, secondlen;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
#define RUBY_OPT_MESSAGE(shortopt, longopt, desc) { \
|
|
53
|
+
shortopt " " longopt " " desc, \
|
|
54
|
+
(unsigned short)sizeof(shortopt), \
|
|
55
|
+
(unsigned short)sizeof(longopt), \
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
#define opt_match(s, l, name) \
|
|
59
|
+
((((l) > rb_strlen_lit(name)) ? (s)[rb_strlen_lit(name)] == '=' : \
|
|
60
|
+
(l) == rb_strlen_lit(name)) && \
|
|
61
|
+
memcmp((s), name, rb_strlen_lit(name)) == 0 && \
|
|
62
|
+
(((s) += rb_strlen_lit(name)), 1))
|
|
63
|
+
|
|
64
|
+
#endif
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
#ifndef INTERNAL_COMPAR_H /*-*-C-*-vi:se ft=c:*/
|
|
2
|
+
#define INTERNAL_COMPAR_H
|
|
3
|
+
/**
|
|
4
|
+
* @author Ruby developers <ruby-core@ruby-lang.org>
|
|
5
|
+
* @copyright This file is a part of the programming language Ruby.
|
|
6
|
+
* Permission is hereby granted, to either redistribute and/or
|
|
7
|
+
* modify this file, provided that the conditions mentioned in the
|
|
8
|
+
* file COPYING are met. Consult the file for details.
|
|
9
|
+
* @brief Internal header for Comparable.
|
|
10
|
+
*/
|
|
11
|
+
#include "internal/basic_operators.h"
|
|
12
|
+
|
|
13
|
+
#define STRING_P(s) (RB_TYPE_P((s), T_STRING) && CLASS_OF(s) == rb_cString)
|
|
14
|
+
|
|
15
|
+
#define CMP_OPTIMIZABLE(type) BASIC_OP_UNREDEFINED_P(BOP_CMP, type##_REDEFINED_OP_FLAG)
|
|
16
|
+
|
|
17
|
+
#define OPTIMIZED_CMP(a, b) \
|
|
18
|
+
((FIXNUM_P(a) && FIXNUM_P(b) && CMP_OPTIMIZABLE(INTEGER)) ? \
|
|
19
|
+
(((long)a > (long)b) ? 1 : ((long)a < (long)b) ? -1 : 0) : \
|
|
20
|
+
(STRING_P(a) && STRING_P(b) && CMP_OPTIMIZABLE(STRING)) ? \
|
|
21
|
+
rb_str_cmp(a, b) : \
|
|
22
|
+
(RB_FLOAT_TYPE_P(a) && RB_FLOAT_TYPE_P(b) && CMP_OPTIMIZABLE(FLOAT)) ? \
|
|
23
|
+
rb_float_cmp(a, b) : \
|
|
24
|
+
rb_cmpint(rb_funcallv(a, id_cmp, 1, &b), a, b))
|
|
25
|
+
|
|
26
|
+
/* compar.c */
|
|
27
|
+
VALUE rb_invcmp(VALUE, VALUE);
|
|
28
|
+
|
|
29
|
+
#endif /* INTERNAL_COMPAR_H */
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
#ifndef INTERNAL_COMPILE_H /*-*-C-*-vi:se ft=c:*/
|
|
2
|
+
#define INTERNAL_COMPILE_H
|
|
3
|
+
/**
|
|
4
|
+
* @author Ruby developers <ruby-core@ruby-lang.org>
|
|
5
|
+
* @copyright This file is a part of the programming language Ruby.
|
|
6
|
+
* Permission is hereby granted, to either redistribute and/or
|
|
7
|
+
* modify this file, provided that the conditions mentioned in the
|
|
8
|
+
* file COPYING are met. Consult the file for details.
|
|
9
|
+
* @brief Internal header for the compiler.
|
|
10
|
+
*/
|
|
11
|
+
#include "ruby/internal/config.h"
|
|
12
|
+
#include <stddef.h> /* for size_t */
|
|
13
|
+
#include "ruby/ruby.h" /* for rb_event_flag_t */
|
|
14
|
+
|
|
15
|
+
struct rb_iseq_struct; /* in vm_core.h */
|
|
16
|
+
|
|
17
|
+
/* compile.c */
|
|
18
|
+
int rb_dvar_defined(ID, const struct rb_iseq_struct *);
|
|
19
|
+
int rb_local_defined(ID, const struct rb_iseq_struct *);
|
|
20
|
+
int rb_insn_len(VALUE insn);
|
|
21
|
+
const char *rb_insns_name(int i);
|
|
22
|
+
VALUE rb_insns_name_array(void);
|
|
23
|
+
int rb_iseq_cdhash_cmp(VALUE val, VALUE lit);
|
|
24
|
+
st_index_t rb_iseq_cdhash_hash(VALUE a);
|
|
25
|
+
|
|
26
|
+
/* iseq.c */
|
|
27
|
+
int rb_vm_insn_addr2insn(const void *);
|
|
28
|
+
int rb_vm_insn_decode(const VALUE encoded);
|
|
29
|
+
extern bool ruby_vm_keep_script_lines;
|
|
30
|
+
|
|
31
|
+
/* iseq.c (export) */
|
|
32
|
+
rb_event_flag_t rb_iseq_event_flags(const struct rb_iseq_struct *iseq, size_t pos);
|
|
33
|
+
|
|
34
|
+
#endif /* INTERNAL_COMPILE_H */
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
#ifndef INTERNAL_COMPILERS_H /*-*-C-*-vi:se ft=c:*/
|
|
2
|
+
#define INTERNAL_COMPILERS_H
|
|
3
|
+
/**
|
|
4
|
+
* @author Ruby developers <ruby-core@ruby-lang.org>
|
|
5
|
+
* @copyright This file is a part of the programming language Ruby.
|
|
6
|
+
* Permission is hereby granted, to either redistribute and/or
|
|
7
|
+
* modify this file, provided that the conditions mentioned in the
|
|
8
|
+
* file COPYING are met. Consult the file for details.
|
|
9
|
+
* @brief Internal header absorbing C compiler differences.
|
|
10
|
+
*/
|
|
11
|
+
#include "ruby/internal/compiler_since.h"
|
|
12
|
+
#include "ruby/internal/has/attribute.h"
|
|
13
|
+
#include "ruby/internal/has/builtin.h"
|
|
14
|
+
#include "ruby/internal/has/c_attribute.h"
|
|
15
|
+
#include "ruby/internal/has/declspec_attribute.h"
|
|
16
|
+
#include "ruby/internal/has/extension.h"
|
|
17
|
+
#include "ruby/internal/has/feature.h"
|
|
18
|
+
#include "ruby/internal/has/warning.h"
|
|
19
|
+
#include "ruby/backward/2/gcc_version_since.h"
|
|
20
|
+
|
|
21
|
+
#define MSC_VERSION_SINCE(_) RBIMPL_COMPILER_SINCE(MSVC, (_) / 100, (_) % 100, 0)
|
|
22
|
+
#define MSC_VERSION_BEFORE(_) RBIMPL_COMPILER_BEFORE(MSVC, (_) / 100, (_) % 100, 0)
|
|
23
|
+
|
|
24
|
+
#ifndef __has_attribute
|
|
25
|
+
# define __has_attribute(...) RBIMPL_HAS_ATTRIBUTE(__VA_ARGS__)
|
|
26
|
+
#endif
|
|
27
|
+
|
|
28
|
+
#ifndef __has_c_attribute
|
|
29
|
+
# /* As of writing everything that lacks __has_c_attribute also completely
|
|
30
|
+
# * lacks C2x attributes as well. Might change in future? */
|
|
31
|
+
# define __has_c_attribute(...) 0
|
|
32
|
+
#endif
|
|
33
|
+
|
|
34
|
+
#ifndef __has_declspec_attribute
|
|
35
|
+
# define __has_declspec_attribute(...) RBIMPL_HAS_DECLSPEC_ATTRIBUTE(__VA_ARGS__)
|
|
36
|
+
#endif
|
|
37
|
+
|
|
38
|
+
#ifndef __has_builtin
|
|
39
|
+
# define __has_builtin(...) RBIMPL_HAS_BUILTIN(__VA_ARGS__)
|
|
40
|
+
#endif
|
|
41
|
+
|
|
42
|
+
#ifndef __has_feature
|
|
43
|
+
# define __has_feature(...) RBIMPL_HAS_FEATURE(__VA_ARGS__)
|
|
44
|
+
#endif
|
|
45
|
+
|
|
46
|
+
#ifndef __has_extension
|
|
47
|
+
# define __has_extension(...) RBIMPL_HAS_EXTENSION(__VA_ARGS__)
|
|
48
|
+
#endif
|
|
49
|
+
|
|
50
|
+
#ifndef __has_warning
|
|
51
|
+
# define __has_warning(...) RBIMPL_HAS_WARNING(__VA_ARGS__)
|
|
52
|
+
#endif
|
|
53
|
+
|
|
54
|
+
#ifndef __GNUC__
|
|
55
|
+
# define __extension__ /* void */
|
|
56
|
+
#endif
|
|
57
|
+
|
|
58
|
+
#ifndef MAYBE_UNUSED
|
|
59
|
+
# define MAYBE_UNUSED(x) x
|
|
60
|
+
#endif
|
|
61
|
+
|
|
62
|
+
#ifndef WARN_UNUSED_RESULT
|
|
63
|
+
# define WARN_UNUSED_RESULT(x) x
|
|
64
|
+
#endif
|
|
65
|
+
|
|
66
|
+
#define RB_OBJ_BUILTIN_TYPE(obj) rb_obj_builtin_type(obj)
|
|
67
|
+
#define OBJ_BUILTIN_TYPE(obj) RB_OBJ_BUILTIN_TYPE(obj)
|
|
68
|
+
#ifdef __GNUC__
|
|
69
|
+
#define rb_obj_builtin_type(obj) \
|
|
70
|
+
__extension__({ \
|
|
71
|
+
VALUE arg_obj = (obj); \
|
|
72
|
+
RB_SPECIAL_CONST_P(arg_obj) ? -1 : \
|
|
73
|
+
(int)RB_BUILTIN_TYPE(arg_obj); \
|
|
74
|
+
})
|
|
75
|
+
#else
|
|
76
|
+
# include "ruby/ruby.h"
|
|
77
|
+
static inline int
|
|
78
|
+
rb_obj_builtin_type(VALUE obj)
|
|
79
|
+
{
|
|
80
|
+
return RB_SPECIAL_CONST_P(obj) ? -1 :
|
|
81
|
+
(int)RB_BUILTIN_TYPE(obj);
|
|
82
|
+
}
|
|
83
|
+
#endif
|
|
84
|
+
|
|
85
|
+
/* A macro for defining a flexible array, like: VALUE ary[FLEX_ARY_LEN]; */
|
|
86
|
+
#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
|
|
87
|
+
# define FLEX_ARY_LEN /* VALUE ary[]; */
|
|
88
|
+
#elif defined(__GNUC__) && !defined(__STRICT_ANSI__)
|
|
89
|
+
# define FLEX_ARY_LEN 0 /* VALUE ary[0]; */
|
|
90
|
+
#else
|
|
91
|
+
# define FLEX_ARY_LEN 1 /* VALUE ary[1]; */
|
|
92
|
+
#endif
|
|
93
|
+
|
|
94
|
+
/*
|
|
95
|
+
* For declaring bitfields out of non-unsigned int types:
|
|
96
|
+
* struct date {
|
|
97
|
+
* BITFIELD(enum months, month, 4);
|
|
98
|
+
* ...
|
|
99
|
+
* };
|
|
100
|
+
*/
|
|
101
|
+
#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
|
|
102
|
+
# define BITFIELD(type, name, size) type name : size
|
|
103
|
+
#else
|
|
104
|
+
# define BITFIELD(type, name, size) unsigned int name : size
|
|
105
|
+
#endif
|
|
106
|
+
|
|
107
|
+
#endif /* INTERNAL_COMPILERS_H */
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
#ifndef INTERNAL_COMPLEX_H /*-*-C-*-vi:se ft=c:*/
|
|
2
|
+
#define INTERNAL_COMPLEX_H
|
|
3
|
+
/**
|
|
4
|
+
* @author Ruby developers <ruby-core@ruby-lang.org>
|
|
5
|
+
* @copyright This file is a part of the programming language Ruby.
|
|
6
|
+
* Permission is hereby granted, to either redistribute and/or
|
|
7
|
+
* modify this file, provided that the conditions mentioned in the
|
|
8
|
+
* file COPYING are met. Consult the file for details.
|
|
9
|
+
* @brief Internal header for Complex.
|
|
10
|
+
*/
|
|
11
|
+
#include "ruby/internal/value.h" /* for struct RBasic */
|
|
12
|
+
|
|
13
|
+
struct RComplex {
|
|
14
|
+
struct RBasic basic;
|
|
15
|
+
VALUE real;
|
|
16
|
+
VALUE imag;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
#define RCOMPLEX(obj) ((struct RComplex *)(obj))
|
|
20
|
+
|
|
21
|
+
/* shortcut macro for internal only */
|
|
22
|
+
#define RCOMPLEX_SET_REAL(cmp, r) RB_OBJ_WRITE((cmp), &RCOMPLEX(cmp)->real, (r))
|
|
23
|
+
#define RCOMPLEX_SET_IMAG(cmp, i) RB_OBJ_WRITE((cmp), &RCOMPLEX(cmp)->imag, (i))
|
|
24
|
+
|
|
25
|
+
/* complex.c */
|
|
26
|
+
VALUE rb_dbl_complex_new_polar_pi(double abs, double ang);
|
|
27
|
+
st_index_t rb_complex_hash(VALUE comp);
|
|
28
|
+
|
|
29
|
+
#endif /* INTERNAL_COMPLEX_H */
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#ifndef RUBY_RACTOR_SAFE_TABLE_H
|
|
2
|
+
#define RUBY_RACTOR_SAFE_TABLE_H
|
|
3
|
+
|
|
4
|
+
#include "ruby/atomic.h"
|
|
5
|
+
#include "ruby/ruby.h"
|
|
6
|
+
|
|
7
|
+
struct rb_concurrent_set_funcs {
|
|
8
|
+
VALUE (*hash)(VALUE key);
|
|
9
|
+
bool (*cmp)(VALUE a, VALUE b);
|
|
10
|
+
VALUE (*create)(VALUE key, void *data);
|
|
11
|
+
void (*free)(VALUE key);
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
VALUE rb_concurrent_set_new(const struct rb_concurrent_set_funcs *funcs, int capacity);
|
|
15
|
+
rb_atomic_t rb_concurrent_set_size(VALUE set_obj);
|
|
16
|
+
VALUE rb_concurrent_set_find(VALUE *set_obj_ptr, VALUE key);
|
|
17
|
+
VALUE rb_concurrent_set_find_or_insert(VALUE *set_obj_ptr, VALUE key, void *data);
|
|
18
|
+
VALUE rb_concurrent_set_delete_by_identity(VALUE set_obj, VALUE key);
|
|
19
|
+
void rb_concurrent_set_foreach_with_replace(VALUE set_obj, int (*callback)(VALUE *key, void *data), void *data);
|
|
20
|
+
|
|
21
|
+
#endif
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#ifndef INTERNAL_DIR_H /*-*-C-*-vi:se ft=c:*/
|
|
2
|
+
#define INTERNAL_DIR_H
|
|
3
|
+
/**
|
|
4
|
+
* @author Ruby developers <ruby-core@ruby-lang.org>
|
|
5
|
+
* @copyright This file is a part of the programming language Ruby.
|
|
6
|
+
* Permission is hereby granted, to either redistribute and/or
|
|
7
|
+
* modify this file, provided that the conditions mentioned in the
|
|
8
|
+
* file COPYING are met. Consult the file for details.
|
|
9
|
+
* @brief Internal header for Dir.
|
|
10
|
+
*/
|
|
11
|
+
#include "ruby/ruby.h" /* for VALUE */
|
|
12
|
+
|
|
13
|
+
/* dir.c */
|
|
14
|
+
VALUE rb_dir_getwd_ospath(void);
|
|
15
|
+
|
|
16
|
+
#endif /* INTERNAL_DIR_H */
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
#ifndef INTERNAL_ENC_H /*-*-C-*-vi:se ft=c:*/
|
|
2
|
+
#define INTERNAL_ENC_H
|
|
3
|
+
/**
|
|
4
|
+
* @author Ruby developers <ruby-core@ruby-lang.org>
|
|
5
|
+
* @copyright This file is a part of the programming language Ruby.
|
|
6
|
+
* Permission is hereby granted, to either redistribute and/or
|
|
7
|
+
* modify this file, provided that the conditions mentioned in the
|
|
8
|
+
* file COPYING are met. Consult the file for details.
|
|
9
|
+
* @brief Internal header for Encoding.
|
|
10
|
+
*/
|
|
11
|
+
#include "ruby/encoding.h" /* for rb_encoding */
|
|
12
|
+
|
|
13
|
+
/* us_ascii.c */
|
|
14
|
+
extern rb_encoding OnigEncodingUS_ASCII;
|
|
15
|
+
|
|
16
|
+
/* utf_8.c */
|
|
17
|
+
extern rb_encoding OnigEncodingUTF_8;
|
|
18
|
+
|
|
19
|
+
#endif /* INTERNAL_ENC_H */
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
#ifndef INTERNAL_ENCODING_H /*-*-C-*-vi:se ft=c:*/
|
|
2
|
+
#define INTERNAL_ENCODING_H
|
|
3
|
+
/**
|
|
4
|
+
* @author Ruby developers <ruby-core@ruby-lang.org>
|
|
5
|
+
* @copyright This file is a part of the programming language Ruby.
|
|
6
|
+
* Permission is hereby granted, to either redistribute and/or
|
|
7
|
+
* modify this file, provided that the conditions mentioned in the
|
|
8
|
+
* file COPYING are met. Consult the file for details.
|
|
9
|
+
* @brief Internal header for Encoding.
|
|
10
|
+
*/
|
|
11
|
+
#include "ruby/ruby.h" /* for ID */
|
|
12
|
+
#include "ruby/encoding.h" /* for rb_encoding */
|
|
13
|
+
|
|
14
|
+
#define rb_is_usascii_enc(enc) ((enc) == rb_usascii_encoding())
|
|
15
|
+
#define rb_is_ascii8bit_enc(enc) ((enc) == rb_ascii8bit_encoding())
|
|
16
|
+
#define rb_is_locale_enc(enc) ((enc) == rb_locale_encoding())
|
|
17
|
+
|
|
18
|
+
/* encoding.c */
|
|
19
|
+
ID rb_id_encoding(void);
|
|
20
|
+
const char * rb_enc_inspect_name(rb_encoding *enc);
|
|
21
|
+
rb_encoding *rb_enc_get_from_index(int index);
|
|
22
|
+
rb_encoding *rb_enc_check_str(VALUE str1, VALUE str2);
|
|
23
|
+
int rb_encdb_replicate(const char *alias, const char *orig);
|
|
24
|
+
int rb_encdb_alias(const char *alias, const char *orig);
|
|
25
|
+
int rb_enc_autoload(rb_encoding *enc);
|
|
26
|
+
bool rb_enc_autoload_p(rb_encoding *enc);
|
|
27
|
+
int rb_encdb_dummy(const char *name);
|
|
28
|
+
void rb_encdb_declare(const char *name);
|
|
29
|
+
void rb_enc_set_base(const char *name, const char *orig);
|
|
30
|
+
int rb_enc_set_dummy(int index);
|
|
31
|
+
void rb_enc_raw_set(VALUE obj, rb_encoding *enc);
|
|
32
|
+
int rb_enc_registered(const char *name);
|
|
33
|
+
|
|
34
|
+
PUREFUNC(int rb_data_is_encoding(VALUE obj));
|
|
35
|
+
|
|
36
|
+
/* vm.c */
|
|
37
|
+
void rb_free_global_enc_table(void);
|
|
38
|
+
|
|
39
|
+
#endif /* INTERNAL_ENCODING_H */
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
#ifndef INTERNAL_ENUM_H /*-*-C-*-vi:se ft=c:*/
|
|
2
|
+
#define INTERNAL_ENUM_H
|
|
3
|
+
/**
|
|
4
|
+
* @author Ruby developers <ruby-core@ruby-lang.org>
|
|
5
|
+
* @copyright This file is a part of the programming language Ruby.
|
|
6
|
+
* Permission is hereby granted, to either redistribute and/or
|
|
7
|
+
* modify this file, provided that the conditions mentioned in the
|
|
8
|
+
* file COPYING are met. Consult the file for details.
|
|
9
|
+
* @brief Internal header for Enumerable.
|
|
10
|
+
*/
|
|
11
|
+
#include "ruby/ruby.h" /* for VALUE */
|
|
12
|
+
|
|
13
|
+
/* enum.c */
|
|
14
|
+
extern VALUE rb_cArithSeq;
|
|
15
|
+
VALUE rb_f_send(int argc, VALUE *argv, VALUE recv);
|
|
16
|
+
VALUE rb_nmin_run(VALUE obj, VALUE num, int by, int rev, int ary);
|
|
17
|
+
|
|
18
|
+
#endif /* INTERNAL_ENUM_H */
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#ifndef INTERNAL_ENUMERATOR_H /*-*-C-*-vi:se ft=c:*/
|
|
2
|
+
#define INTERNAL_ENUMERATOR_H
|
|
3
|
+
/**
|
|
4
|
+
* @author Ruby developers <ruby-core@ruby-lang.org>
|
|
5
|
+
* @copyright This file is a part of the programming language Ruby.
|
|
6
|
+
* Permission is hereby granted, to either redistribute and/or
|
|
7
|
+
* modify this file, provided that the conditions mentioned in the
|
|
8
|
+
* file COPYING are met. Consult the file for details.
|
|
9
|
+
* @brief Internal header for Enumerator.
|
|
10
|
+
*/
|
|
11
|
+
#include "ruby/ruby.h" /* for VALUE */
|
|
12
|
+
#include "ruby/intern.h" /* for rb_enumerator_size_func */
|
|
13
|
+
|
|
14
|
+
RUBY_SYMBOL_EXPORT_BEGIN
|
|
15
|
+
/* enumerator.c (export) */
|
|
16
|
+
VALUE rb_arith_seq_new(VALUE obj, VALUE meth, int argc, VALUE const *argv,
|
|
17
|
+
rb_enumerator_size_func *size_fn,
|
|
18
|
+
VALUE beg, VALUE end, VALUE step, int excl);
|
|
19
|
+
RUBY_SYMBOL_EXPORT_END
|
|
20
|
+
|
|
21
|
+
#endif /* INTERNAL_ENUMERATOR_H */
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
#ifndef INTERNAL_ERROR_H /*-*-C-*-vi:se ft=c:*/
|
|
2
|
+
#define INTERNAL_ERROR_H
|
|
3
|
+
/**
|
|
4
|
+
* @author Ruby developers <ruby-core@ruby-lang.org>
|
|
5
|
+
* @copyright This file is a part of the programming language Ruby.
|
|
6
|
+
* Permission is hereby granted, to either redistribute and/or
|
|
7
|
+
* modify this file, provided that the conditions mentioned in the
|
|
8
|
+
* file COPYING are met. Consult the file for details.
|
|
9
|
+
* @brief Internal header for Exception.
|
|
10
|
+
*/
|
|
11
|
+
#include "ruby/internal/config.h"
|
|
12
|
+
#include <stdarg.h> /* for va_list */
|
|
13
|
+
#include "internal/string.h" /* for rb_fstring_cstr */
|
|
14
|
+
#include "ruby/internal/stdbool.h" /* for bool */
|
|
15
|
+
#include "ruby/encoding.h" /* for rb_encoding */
|
|
16
|
+
#include "ruby/intern.h" /* for rb_exc_raise */
|
|
17
|
+
#include "ruby/ruby.h" /* for enum ruby_value_type */
|
|
18
|
+
|
|
19
|
+
#ifdef Check_Type
|
|
20
|
+
# undef Check_Type /* in ruby/ruby.h */
|
|
21
|
+
#endif
|
|
22
|
+
|
|
23
|
+
#ifdef rb_raise_static
|
|
24
|
+
# undef rb_raise_static
|
|
25
|
+
# undef rb_sys_fail_path
|
|
26
|
+
# undef rb_syserr_fail_path
|
|
27
|
+
#endif
|
|
28
|
+
|
|
29
|
+
#define rb_raise_static(e, m) \
|
|
30
|
+
rb_raise_cstr_i((e), rb_str_new_static((m), rb_strlen_lit(m)))
|
|
31
|
+
#ifdef RUBY_FUNCTION_NAME_STRING
|
|
32
|
+
# define rb_syserr_fail_path(err, path) rb_syserr_fail_path_in(RUBY_FUNCTION_NAME_STRING, (err), (path))
|
|
33
|
+
# define rb_syserr_new_path(err, path) rb_syserr_new_path_in(RUBY_FUNCTION_NAME_STRING, (err), (path))
|
|
34
|
+
#else
|
|
35
|
+
# define rb_syserr_fail_path(err, path) rb_syserr_fail_str((err), (path))
|
|
36
|
+
# define rb_syserr_new_path(err, path) rb_syserr_new_str((err), (path))
|
|
37
|
+
#endif
|
|
38
|
+
|
|
39
|
+
#define rb_sys_fail(mesg) \
|
|
40
|
+
do { \
|
|
41
|
+
int errno_to_fail = errno; \
|
|
42
|
+
rb_syserr_fail(errno_to_fail, (mesg)); \
|
|
43
|
+
} while (0)
|
|
44
|
+
|
|
45
|
+
#define rb_sys_fail_str(mesg) \
|
|
46
|
+
do { \
|
|
47
|
+
int errno_to_fail = errno; \
|
|
48
|
+
rb_syserr_fail_str(errno_to_fail, (mesg)); \
|
|
49
|
+
} while (0)
|
|
50
|
+
|
|
51
|
+
#define rb_sys_fail_path(path) \
|
|
52
|
+
do { \
|
|
53
|
+
int errno_to_fail = errno; \
|
|
54
|
+
rb_syserr_fail_path(errno_to_fail, (path)); \
|
|
55
|
+
} while (0)
|
|
56
|
+
|
|
57
|
+
#define rb_sys_fail_sprintf(...) \
|
|
58
|
+
do { \
|
|
59
|
+
int errno_to_fail = errno; \
|
|
60
|
+
rb_syserr_fail_str(errno_to_fail, rb_sprintf("" __VA_ARGS__)); \
|
|
61
|
+
} while (0)
|
|
62
|
+
|
|
63
|
+
/* error.c */
|
|
64
|
+
extern long rb_backtrace_length_limit;
|
|
65
|
+
extern VALUE rb_eEAGAIN;
|
|
66
|
+
extern VALUE rb_eEWOULDBLOCK;
|
|
67
|
+
extern VALUE rb_eEINPROGRESS;
|
|
68
|
+
RBIMPL_ATTR_FORMAT(RBIMPL_PRINTF_FORMAT, 3, 0)
|
|
69
|
+
void rb_report_bug_valist(VALUE file, int line, const char *fmt, va_list args);
|
|
70
|
+
NORETURN(void rb_async_bug_errno(const char *,int));
|
|
71
|
+
const char *rb_builtin_type_name(int t);
|
|
72
|
+
const char *rb_builtin_class_name(VALUE x);
|
|
73
|
+
PRINTF_ARGS(void rb_warn_deprecated(const char *fmt, const char *suggest, ...), 1, 3);
|
|
74
|
+
PRINTF_ARGS(void rb_warn_deprecated_to_remove(const char *removal, const char *fmt, const char *suggest, ...), 2, 4);
|
|
75
|
+
PRINTF_ARGS(void rb_warn_reserved_name(const char *removal, const char *fmt, ...), 2, 3);
|
|
76
|
+
#if RUBY_DEBUG
|
|
77
|
+
# include "ruby/version.h"
|
|
78
|
+
# define RUBY_VERSION_SINCE(major, minor) (RUBY_API_VERSION_CODE >= (major * 10000) + (minor) * 100)
|
|
79
|
+
# define RUBY_VERSION_BEFORE(major, minor) (RUBY_API_VERSION_CODE < (major * 10000) + (minor) * 100)
|
|
80
|
+
# if defined(RBIMPL_WARNING_PRAGMA0)
|
|
81
|
+
# define RBIMPL_TODO0(x) RBIMPL_WARNING_PRAGMA0(message(x))
|
|
82
|
+
# elif RBIMPL_COMPILER_SINCE(MSVC, 12, 0, 0)
|
|
83
|
+
# define RBIMPL_TODO0(x) __pragma(message(x))
|
|
84
|
+
# endif
|
|
85
|
+
|
|
86
|
+
# if RBIMPL_HAS_ATTRIBUTE(diagnose_if) || defined(__OPTIMIZE__)
|
|
87
|
+
|
|
88
|
+
#define RUBY_VERSION_isdigit(c) ('0'<=(c)&&(c)<='9')
|
|
89
|
+
// upto 99
|
|
90
|
+
#define RUBY_VERSION__number_len(v, ofs) \
|
|
91
|
+
(!RUBY_VERSION_isdigit((v)[ofs]) ? \
|
|
92
|
+
0 : !RUBY_VERSION_isdigit((v)[(ofs) + 1]) ? 1 : 2)
|
|
93
|
+
#define RUBY_VERSION__to_number(v, ofs) \
|
|
94
|
+
(!RUBY_VERSION_isdigit((v)[ofs]) ? \
|
|
95
|
+
0 : !RUBY_VERSION_isdigit((v)[(ofs) + 1]) ? \
|
|
96
|
+
((v)[ofs]-'0') : \
|
|
97
|
+
(((v)[ofs]-'0')*10+(v)[(ofs)+1]-'0'))
|
|
98
|
+
|
|
99
|
+
#define RUBY_VERSION_CODE_FROM_MAJOR_MINOR_STRING(v) \
|
|
100
|
+
(RUBY_VERSION__to_number(v, 0) * 10000 + \
|
|
101
|
+
((v)[RUBY_VERSION__number_len(v, 0)] == '.' ? \
|
|
102
|
+
RUBY_VERSION__to_number(v, RUBY_VERSION__number_len(v, 0)+1) * 100 : 0))
|
|
103
|
+
#define RUBY_VERSION_STRING_SINCE(v) (RUBY_API_VERSION_CODE >= RUBY_VERSION_CODE_FROM_MAJOR_MINOR_STRING(v))
|
|
104
|
+
#define RUBY_VERSION_STRING_BEFORE(v) (RUBY_API_VERSION_CODE < RUBY_VERSION_CODE_FROM_MAJOR_MINOR_STRING(v))
|
|
105
|
+
|
|
106
|
+
# if RBIMPL_HAS_ATTRIBUTE(diagnose_if)
|
|
107
|
+
RBIMPL_ATTR_FORCEINLINE()
|
|
108
|
+
static void
|
|
109
|
+
rb_deprecated_method_to_be_removed(const char *removal)
|
|
110
|
+
RBIMPL_ATTR_DIAGNOSE_IF(!RUBY_VERSION_isdigit(removal[0]), "malformed version number", "error")
|
|
111
|
+
RBIMPL_ATTR_DIAGNOSE_IF(RUBY_VERSION_STRING_SINCE(removal), "deprecated method to be removed", "error")
|
|
112
|
+
{
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
RBIMPL_ATTR_FORCEINLINE()
|
|
116
|
+
static void
|
|
117
|
+
rb_diagnose_reserved_name_at(const char *coming)
|
|
118
|
+
RBIMPL_ATTR_DIAGNOSE_IF(!RUBY_VERSION_isdigit(coming[0]), "malformed version number", "error")
|
|
119
|
+
RBIMPL_ATTR_DIAGNOSE_IF(RUBY_VERSION_STRING_SINCE(coming), "reserved name already in use", "error")
|
|
120
|
+
{
|
|
121
|
+
}
|
|
122
|
+
# else
|
|
123
|
+
RBIMPL_ATTR_ERROR(("deprecated"))
|
|
124
|
+
void rb_deprecated_method_to_be_removed(const char *);
|
|
125
|
+
# define rb_deprecated_method_to_be_removed(removal) \
|
|
126
|
+
(sizeof(char[1-2*(!RUBY_VERSION_isdigit(removal[0]) || RUBY_VERSION_STRING_SINCE(removal))])!=1 ? \
|
|
127
|
+
rb_deprecated_method_to_be_removed(removal) : \
|
|
128
|
+
RBIMPL_ASSERT_NOTHING)
|
|
129
|
+
|
|
130
|
+
RBIMPL_ATTR_ERROR(("deprecated"))
|
|
131
|
+
void rb_diagnose_reserved_name_at(const char *);
|
|
132
|
+
# define rb_diagnose_reserved_name_at(coming) \
|
|
133
|
+
(sizeof(char[1-2*(!RUBY_VERSION_isdigit(coming[0]) || RUBY_VERSION_STRING_SINCE(coming))])!=1 ? \
|
|
134
|
+
rb_diagnose_reserved_name_at(coming) : \
|
|
135
|
+
RBIMPL_ASSERT_NOTHING)
|
|
136
|
+
|
|
137
|
+
# endif
|
|
138
|
+
# define rb_warn_deprecated_to_remove_at(removal, ...) \
|
|
139
|
+
(rb_deprecated_method_to_be_removed(#removal), \
|
|
140
|
+
rb_warn_deprecated_to_remove(#removal, __VA_ARGS__))
|
|
141
|
+
|
|
142
|
+
# define rb_warn_reserved_name_at(coming, ...) \
|
|
143
|
+
(rb_diagnose_reserved_name_at(#coming), \
|
|
144
|
+
rb_warn_reserved_name(#coming, __VA_ARGS__))
|
|
145
|
+
# endif
|
|
146
|
+
#endif
|
|
147
|
+
#ifndef rb_warn_deprecated_to_remove_at
|
|
148
|
+
# define rb_warn_deprecated_to_remove_at(removal, ...) \
|
|
149
|
+
rb_warn_deprecated_to_remove(#removal, __VA_ARGS__)
|
|
150
|
+
#endif
|
|
151
|
+
#ifndef rb_warn_reserved_name_at
|
|
152
|
+
# define rb_warn_reserved_name_at(removal, ...) \
|
|
153
|
+
rb_warn_reserved_name(#removal, __VA_ARGS__)
|
|
154
|
+
#endif
|
|
155
|
+
#ifndef RUBY_VERSION_SINCE
|
|
156
|
+
# define RUBY_VERSION_SINCE(major, minor) 0
|
|
157
|
+
#endif
|
|
158
|
+
#ifndef RUBY_VERSION_BEFORE
|
|
159
|
+
# define RUBY_VERSION_BEFORE(major, minor) 0
|
|
160
|
+
#endif
|
|
161
|
+
#ifndef RBIMPL_TODO0
|
|
162
|
+
# define RBIMPL_TODO0(x)
|
|
163
|
+
#endif
|
|
164
|
+
#define RBIMPL_TODO(message) RBIMPL_TODO0("TODO: " message)
|
|
165
|
+
RBIMPL_ATTR_FORMAT(RBIMPL_PRINTF_FORMAT, 6, 0)
|
|
166
|
+
VALUE rb_syntax_error_append(VALUE, VALUE, int, int, rb_encoding*, const char*, va_list);
|
|
167
|
+
PRINTF_ARGS(void rb_enc_warn(rb_encoding *enc, const char *fmt, ...), 2, 3);
|
|
168
|
+
PRINTF_ARGS(void rb_sys_enc_warning(rb_encoding *enc, const char *fmt, ...), 2, 3);
|
|
169
|
+
PRINTF_ARGS(void rb_syserr_enc_warning(int err, rb_encoding *enc, const char *fmt, ...), 3, 4);
|
|
170
|
+
PRINTF_ARGS(void rb_enc_compile_warning(rb_encoding *enc, const char *file, int line, const char *fmt, ...), 4, 5);
|
|
171
|
+
PRINTF_ARGS(void rb_enc_compile_warn(rb_encoding *enc, const char *file, int line, const char *fmt, ...), 4, 5);
|
|
172
|
+
rb_warning_category_t rb_warning_category_from_name(VALUE category);
|
|
173
|
+
bool rb_warning_category_enabled_p(rb_warning_category_t category);
|
|
174
|
+
VALUE rb_name_err_new(VALUE mesg, VALUE recv, VALUE method);
|
|
175
|
+
VALUE rb_nomethod_err_new(VALUE mesg, VALUE recv, VALUE method, VALUE args, int priv);
|
|
176
|
+
VALUE rb_key_err_new(VALUE mesg, VALUE recv, VALUE name);
|
|
177
|
+
PRINTF_ARGS(VALUE rb_warning_string(const char *fmt, ...), 1, 2);
|
|
178
|
+
RBIMPL_ATTR_FORMAT(RBIMPL_PRINTF_FORMAT, 2, 0)
|
|
179
|
+
NORETURN(void rb_vraise(VALUE, const char *, va_list));
|
|
180
|
+
NORETURN(static inline void rb_raise_cstr(VALUE etype, const char *mesg));
|
|
181
|
+
NORETURN(static inline void rb_raise_cstr_i(VALUE etype, VALUE mesg));
|
|
182
|
+
NORETURN(static inline void rb_name_err_raise_str(VALUE mesg, VALUE recv, VALUE name));
|
|
183
|
+
NORETURN(static inline void rb_name_err_raise(const char *mesg, VALUE recv, VALUE name));
|
|
184
|
+
NORETURN(static inline void rb_key_err_raise(VALUE mesg, VALUE recv, VALUE name));
|
|
185
|
+
static inline void Check_Type(VALUE v, enum ruby_value_type t);
|
|
186
|
+
static inline bool rb_typeddata_is_instance_of_inline(VALUE obj, const rb_data_type_t *data_type);
|
|
187
|
+
#define rb_typeddata_is_instance_of rb_typeddata_is_instance_of_inline
|
|
188
|
+
void rb_bug_without_die(const char *fmt, ...);
|
|
189
|
+
|
|
190
|
+
RUBY_SYMBOL_EXPORT_BEGIN
|
|
191
|
+
/* error.c (export) */
|
|
192
|
+
int rb_bug_reporter_add(void (*func)(FILE *, void *), void *data);
|
|
193
|
+
#ifdef RUBY_FUNCTION_NAME_STRING
|
|
194
|
+
NORETURN(void rb_sys_fail_path_in(const char *func_name, VALUE path));
|
|
195
|
+
NORETURN(void rb_syserr_fail_path_in(const char *func_name, int err, VALUE path));
|
|
196
|
+
VALUE rb_syserr_new_path_in(const char *func_name, int n, VALUE path);
|
|
197
|
+
#endif
|
|
198
|
+
RUBY_SYMBOL_EXPORT_END
|
|
199
|
+
|
|
200
|
+
/* vm.c */
|
|
201
|
+
void rb_free_warning(void);
|
|
202
|
+
|
|
203
|
+
static inline void
|
|
204
|
+
rb_raise_cstr_i(VALUE etype, VALUE mesg)
|
|
205
|
+
{
|
|
206
|
+
VALUE exc = rb_exc_new_str(etype, mesg);
|
|
207
|
+
rb_exc_raise(exc);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
static inline void
|
|
211
|
+
rb_raise_cstr(VALUE etype, const char *mesg)
|
|
212
|
+
{
|
|
213
|
+
VALUE str = rb_str_new_cstr(mesg);
|
|
214
|
+
rb_raise_cstr_i(etype, str);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
static inline void
|
|
218
|
+
rb_name_err_raise_str(VALUE mesg, VALUE recv, VALUE name)
|
|
219
|
+
{
|
|
220
|
+
VALUE exc = rb_name_err_new(mesg, recv, name);
|
|
221
|
+
rb_exc_raise(exc);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
static inline void
|
|
225
|
+
rb_name_err_raise(const char *mesg, VALUE recv, VALUE name)
|
|
226
|
+
{
|
|
227
|
+
VALUE str = rb_fstring_cstr(mesg);
|
|
228
|
+
rb_name_err_raise_str(str, recv, name);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
static inline void
|
|
232
|
+
rb_key_err_raise(VALUE mesg, VALUE recv, VALUE name)
|
|
233
|
+
{
|
|
234
|
+
VALUE exc = rb_key_err_new(mesg, recv, name);
|
|
235
|
+
rb_exc_raise(exc);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
static inline bool
|
|
239
|
+
rb_typeddata_is_instance_of_inline(VALUE obj, const rb_data_type_t *data_type)
|
|
240
|
+
{
|
|
241
|
+
return RB_TYPE_P(obj, T_DATA) && RTYPEDDATA_P(obj) && (RTYPEDDATA_TYPE(obj) == data_type);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
typedef enum {
|
|
245
|
+
rb_stack_overflow_prevention = 0, // VM stack overflow or about to machine stack overflow
|
|
246
|
+
rb_stack_overflow_signal = 1, // machine stack overflow but may be recoverable
|
|
247
|
+
rb_stack_overflow_fatal = 2, // fatal machine stack overflow
|
|
248
|
+
} ruby_stack_overflow_critical_level;
|
|
249
|
+
NORETURN(void rb_ec_stack_overflow(struct rb_execution_context_struct *ec, ruby_stack_overflow_critical_level crit));
|
|
250
|
+
|
|
251
|
+
#endif /* INTERNAL_ERROR_H */
|
data/lib/datadog/ruby_core_source/{ruby-3.5.0-preview1 → ruby-4.0.0-preview2}/internal/eval.h
RENAMED
|
@@ -16,11 +16,19 @@
|
|
|
16
16
|
#define id_status ruby_static_id_status
|
|
17
17
|
|
|
18
18
|
/* eval.c */
|
|
19
|
+
struct rb_refinements_data {
|
|
20
|
+
VALUE refinement;
|
|
21
|
+
VALUE refinements;
|
|
22
|
+
};
|
|
23
|
+
|
|
19
24
|
extern ID ruby_static_id_signo;
|
|
20
25
|
extern ID ruby_static_id_status;
|
|
21
26
|
VALUE rb_refinement_module_get_refined_class(VALUE module);
|
|
22
27
|
void rb_class_modify_check(VALUE);
|
|
23
28
|
NORETURN(VALUE rb_f_raise(int argc, VALUE *argv));
|
|
29
|
+
VALUE rb_exception_setup(int argc, VALUE *argv);
|
|
30
|
+
void rb_refinement_setup(struct rb_refinements_data *data, VALUE module, VALUE klass);
|
|
31
|
+
void rb_vm_using_module(VALUE module);
|
|
24
32
|
VALUE rb_top_main_class(const char *method);
|
|
25
33
|
|
|
26
34
|
/* eval_error.c */
|