datadog-ruby_core_source 3.3.7 → 3.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.datadog.md +5 -0
- data/datadog-ruby_core_source.gemspec +1 -1
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/id.h +2 -0
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/error.h +26 -0
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/internal/gc.h +1 -0
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/parse.h +2 -1
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/proc.h +1 -0
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/internal/sanitizers.h +24 -36
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/prism/ast.h +10 -0
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/extension.h +1 -1
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/prism/version.h +2 -2
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/ractor_core.h +1 -0
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/rubyparser.h +3 -1
- data/lib/datadog/ruby_core_source/version.rb +1 -1
- metadata +106 -209
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/id.h +0 -347
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/internal/basic_operators.h +0 -64
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/internal/bits.h +0 -568
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/internal/encoding.h +0 -36
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/internal/fixnum.h +0 -184
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/internal/gc.h +0 -322
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/internal/imemo.h +0 -261
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/internal/io.h +0 -143
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/internal/ractor.h +0 -6
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/internal/sanitizers.h +0 -326
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/internal/string.h +0 -186
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/internal/thread.h +0 -85
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/internal/vm.h +0 -137
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/method.h +0 -255
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/prism/ast.h +0 -7524
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/prism/defines.h +0 -242
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/prism/diagnostic.h +0 -450
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/prism/prism.h +0 -336
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/prism/version.h +0 -29
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/prism_compile.h +0 -99
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/ractor_core.h +0 -382
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/rubyparser.h +0 -1350
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/thread_pthread.h +0 -168
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/vm_core.h +0 -2222
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/ccan/build_assert/build_assert.h +0 -40
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/ccan/check_type/check_type.h +0 -63
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/ccan/container_of/container_of.h +0 -142
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/ccan/list/list.h +0 -791
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/ccan/str/str.h +0 -17
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/id_table.h +0 -39
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/array.h +0 -152
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/bignum.h +0 -244
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/class.h +0 -283
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/cmdlineopt.h +0 -65
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/compar.h +0 -29
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/compile.h +0 -34
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/compilers.h +0 -107
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/complex.h +0 -29
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/cont.h +0 -35
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/dir.h +0 -16
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/enc.h +0 -19
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/enum.h +0 -18
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/enumerator.h +0 -21
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/error.h +0 -218
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/eval.h +0 -33
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/file.h +0 -38
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/hash.h +0 -192
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/inits.h +0 -47
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/load.h +0 -18
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/loadpath.h +0 -16
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/math.h +0 -23
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/missing.h +0 -19
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/numeric.h +0 -274
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/object.h +0 -63
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/parse.h +0 -129
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/proc.h +0 -30
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/process.h +0 -124
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/random.h +0 -17
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/range.h +0 -40
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/rational.h +0 -71
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/re.h +0 -28
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/ruby_parser.h +0 -102
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/serial.h +0 -23
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/signal.h +0 -24
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/st.h +0 -11
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/static_assert.h +0 -16
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/struct.h +0 -127
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/symbol.h +0 -45
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/time.h +0 -34
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/transcode.h +0 -23
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/util.h +0 -27
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/variable.h +0 -72
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/warnings.h +0 -16
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal.h +0 -108
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/iseq.h +0 -340
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/node.h +0 -111
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/parser_st.h +0 -162
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/parser_value.h +0 -106
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/encoding.h +0 -283
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/extension.h +0 -19
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/node.h +0 -129
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/options.h +0 -396
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/pack.h +0 -163
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/parser.h +0 -933
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/prettyprint.h +0 -34
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/regexp.h +0 -43
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/static_literals.h +0 -121
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/util/pm_buffer.h +0 -218
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/util/pm_char.h +0 -204
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/util/pm_constant_pool.h +0 -218
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/util/pm_integer.h +0 -126
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/util/pm_list.h +0 -97
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/util/pm_memchr.h +0 -29
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/util/pm_newline_list.h +0 -113
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/util/pm_string.h +0 -190
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/util/pm_strncasecmp.h +0 -32
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/util/pm_strpbrk.h +0 -46
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/ruby_assert.h +0 -14
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/ruby_atomic.h +0 -23
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/shape.h +0 -234
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/thread_none.h +0 -21
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/vm_debug.h +0 -124
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/vm_opts.h +0 -67
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/ccan/build_assert/build_assert.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/ccan/check_type/check_type.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/ccan/container_of/container_of.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/ccan/list/list.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/ccan/str/str.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/id_table.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/array.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/internal/basic_operators.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/bignum.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/internal/bits.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/class.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/cmdlineopt.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/compar.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/compile.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/compilers.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/complex.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/cont.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/dir.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/enc.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/internal/encoding.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/enum.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/enumerator.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/eval.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/file.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/internal/fixnum.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/hash.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/internal/imemo.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/inits.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/internal/io.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/load.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/loadpath.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/math.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/missing.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/numeric.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/object.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/process.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/internal/ractor.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/random.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/range.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/rational.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/re.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/ruby_parser.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/serial.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/signal.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/st.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/static_assert.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/internal/string.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/struct.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/symbol.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/internal/thread.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/time.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/transcode.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/util.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/variable.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/internal/vm.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/warnings.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/iseq.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/method.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/node.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/parser_st.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/parser_value.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/prism/defines.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/prism/diagnostic.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/encoding.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/node.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/options.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/pack.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/parser.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/prettyprint.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/prism/prism.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/regexp.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/static_literals.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/util/pm_buffer.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/util/pm_char.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/util/pm_constant_pool.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/util/pm_integer.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/util/pm_list.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/util/pm_memchr.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/util/pm_newline_list.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/util/pm_string.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/util/pm_strncasecmp.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/util/pm_strpbrk.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/prism_compile.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/ruby_assert.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/ruby_atomic.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/shape.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/thread_none.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/thread_pthread.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/vm_core.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/vm_debug.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/vm_opts.h +0 -0
@@ -1,261 +0,0 @@
|
|
1
|
-
#ifndef INTERNAL_IMEMO_H /*-*-C-*-vi:se ft=c:*/
|
2
|
-
#define INTERNAL_IMEMO_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 IMEMO: Internal memo object.
|
10
|
-
*/
|
11
|
-
#include "ruby/internal/config.h"
|
12
|
-
#include <stddef.h> /* for size_t */
|
13
|
-
#include "internal/array.h" /* for rb_ary_hidden_new_fill */
|
14
|
-
#include "ruby/internal/stdbool.h" /* for bool */
|
15
|
-
#include "ruby/ruby.h" /* for rb_block_call_func_t */
|
16
|
-
|
17
|
-
#ifndef IMEMO_DEBUG
|
18
|
-
# define IMEMO_DEBUG 0
|
19
|
-
#endif
|
20
|
-
|
21
|
-
#define IMEMO_MASK 0x0f
|
22
|
-
|
23
|
-
/* FL_USER0 to FL_USER3 is for type */
|
24
|
-
#define IMEMO_FL_USHIFT (FL_USHIFT + 4)
|
25
|
-
#define IMEMO_FL_USER0 FL_USER4
|
26
|
-
#define IMEMO_FL_USER1 FL_USER5
|
27
|
-
#define IMEMO_FL_USER2 FL_USER6
|
28
|
-
#define IMEMO_FL_USER3 FL_USER7
|
29
|
-
#define IMEMO_FL_USER4 FL_USER8
|
30
|
-
#define IMEMO_FL_USER5 FL_USER9
|
31
|
-
|
32
|
-
enum imemo_type {
|
33
|
-
imemo_env = 0,
|
34
|
-
imemo_cref = 1, /*!< class reference */
|
35
|
-
imemo_svar = 2, /*!< special variable */
|
36
|
-
imemo_throw_data = 3,
|
37
|
-
imemo_ifunc = 4, /*!< iterator function */
|
38
|
-
imemo_memo = 5,
|
39
|
-
imemo_ment = 6,
|
40
|
-
imemo_iseq = 7,
|
41
|
-
imemo_tmpbuf = 8,
|
42
|
-
imemo_ast = 9, // Obsolete due to the universal parser
|
43
|
-
imemo_parser_strterm = 10,
|
44
|
-
imemo_callinfo = 11,
|
45
|
-
imemo_callcache = 12,
|
46
|
-
imemo_constcache = 13,
|
47
|
-
};
|
48
|
-
|
49
|
-
/* CREF (Class REFerence) is defined in method.h */
|
50
|
-
|
51
|
-
/*! SVAR (Special VARiable) */
|
52
|
-
struct vm_svar {
|
53
|
-
VALUE flags;
|
54
|
-
const VALUE cref_or_me; /*!< class reference or rb_method_entry_t */
|
55
|
-
const VALUE lastline;
|
56
|
-
const VALUE backref;
|
57
|
-
const VALUE others;
|
58
|
-
};
|
59
|
-
|
60
|
-
/*! THROW_DATA */
|
61
|
-
struct vm_throw_data {
|
62
|
-
VALUE flags;
|
63
|
-
VALUE reserved;
|
64
|
-
const VALUE throw_obj;
|
65
|
-
const struct rb_control_frame_struct *catch_frame;
|
66
|
-
int throw_state;
|
67
|
-
};
|
68
|
-
|
69
|
-
#define THROW_DATA_CONSUMED IMEMO_FL_USER0
|
70
|
-
|
71
|
-
/* IFUNC (Internal FUNCtion) */
|
72
|
-
|
73
|
-
struct vm_ifunc_argc {
|
74
|
-
#if SIZEOF_INT * 2 > SIZEOF_VALUE
|
75
|
-
signed int min: (SIZEOF_VALUE * CHAR_BIT) / 2;
|
76
|
-
signed int max: (SIZEOF_VALUE * CHAR_BIT) / 2;
|
77
|
-
#else
|
78
|
-
int min, max;
|
79
|
-
#endif
|
80
|
-
};
|
81
|
-
|
82
|
-
/*! IFUNC (Internal FUNCtion) */
|
83
|
-
struct vm_ifunc {
|
84
|
-
VALUE flags;
|
85
|
-
VALUE *svar_lep;
|
86
|
-
rb_block_call_func_t func;
|
87
|
-
const void *data;
|
88
|
-
struct vm_ifunc_argc argc;
|
89
|
-
};
|
90
|
-
#define IFUNC_YIELD_OPTIMIZABLE IMEMO_FL_USER0
|
91
|
-
|
92
|
-
struct rb_imemo_tmpbuf_struct {
|
93
|
-
VALUE flags;
|
94
|
-
VALUE reserved;
|
95
|
-
VALUE *ptr; /* malloc'ed buffer */
|
96
|
-
struct rb_imemo_tmpbuf_struct *next; /* next imemo */
|
97
|
-
size_t cnt; /* buffer size in VALUE */
|
98
|
-
};
|
99
|
-
|
100
|
-
/*! MEMO
|
101
|
-
*
|
102
|
-
* @see imemo_type
|
103
|
-
* */
|
104
|
-
struct MEMO {
|
105
|
-
VALUE flags;
|
106
|
-
VALUE reserved;
|
107
|
-
const VALUE v1;
|
108
|
-
const VALUE v2;
|
109
|
-
union {
|
110
|
-
long cnt;
|
111
|
-
long state;
|
112
|
-
const VALUE value;
|
113
|
-
void (*func)(void);
|
114
|
-
} u3;
|
115
|
-
};
|
116
|
-
|
117
|
-
#define IMEMO_NEW(T, type, v0) ((T *)rb_imemo_new((type), (v0)))
|
118
|
-
|
119
|
-
/* ment is in method.h */
|
120
|
-
|
121
|
-
#define THROW_DATA_P(err) imemo_throw_data_p((VALUE)err)
|
122
|
-
#define MEMO_CAST(m) ((struct MEMO *)(m))
|
123
|
-
#define MEMO_FOR(type, value) ((type *)RARRAY_PTR(value))
|
124
|
-
#define NEW_MEMO_FOR(type, value) \
|
125
|
-
((value) = rb_ary_hidden_new_fill(type_roomof(type, VALUE)), MEMO_FOR(type, value))
|
126
|
-
#define NEW_PARTIAL_MEMO_FOR(type, value, member) \
|
127
|
-
((value) = rb_ary_hidden_new_fill(type_roomof(type, VALUE)), \
|
128
|
-
rb_ary_set_len((value), offsetof(type, member) / sizeof(VALUE)), \
|
129
|
-
MEMO_FOR(type, value))
|
130
|
-
|
131
|
-
#ifndef RUBY_RUBYPARSER_H
|
132
|
-
typedef struct rb_imemo_tmpbuf_struct rb_imemo_tmpbuf_t;
|
133
|
-
#endif
|
134
|
-
rb_imemo_tmpbuf_t *rb_imemo_tmpbuf_parser_heap(void *buf, rb_imemo_tmpbuf_t *old_heap, size_t cnt);
|
135
|
-
struct vm_ifunc *rb_vm_ifunc_new(rb_block_call_func_t func, const void *data, int min_argc, int max_argc);
|
136
|
-
static inline enum imemo_type imemo_type(VALUE imemo);
|
137
|
-
static inline int imemo_type_p(VALUE imemo, enum imemo_type imemo_type);
|
138
|
-
static inline bool imemo_throw_data_p(VALUE imemo);
|
139
|
-
static inline struct vm_ifunc *rb_vm_ifunc_proc_new(rb_block_call_func_t func, const void *data);
|
140
|
-
static inline VALUE rb_imemo_tmpbuf_auto_free_pointer(void);
|
141
|
-
static inline void *RB_IMEMO_TMPBUF_PTR(VALUE v);
|
142
|
-
static inline void *rb_imemo_tmpbuf_set_ptr(VALUE v, void *ptr);
|
143
|
-
static inline VALUE rb_imemo_tmpbuf_auto_free_pointer_new_from_an_RString(VALUE str);
|
144
|
-
static inline void MEMO_V1_SET(struct MEMO *m, VALUE v);
|
145
|
-
static inline void MEMO_V2_SET(struct MEMO *m, VALUE v);
|
146
|
-
|
147
|
-
size_t rb_imemo_memsize(VALUE obj);
|
148
|
-
void rb_cc_table_mark(VALUE klass);
|
149
|
-
void rb_imemo_mark_and_move(VALUE obj, bool reference_updating);
|
150
|
-
void rb_cc_table_free(VALUE klass);
|
151
|
-
void rb_imemo_free(VALUE obj);
|
152
|
-
|
153
|
-
RUBY_SYMBOL_EXPORT_BEGIN
|
154
|
-
#if IMEMO_DEBUG
|
155
|
-
VALUE rb_imemo_new_debug(enum imemo_type type, VALUE v0, const char *file, int line);
|
156
|
-
#define rb_imemo_new(type, v1, v2, v3, v0) rb_imemo_new_debug(type, v1, v2, v3, v0, __FILE__, __LINE__)
|
157
|
-
#else
|
158
|
-
VALUE rb_imemo_new(enum imemo_type type, VALUE v0);
|
159
|
-
#endif
|
160
|
-
const char *rb_imemo_name(enum imemo_type type);
|
161
|
-
RUBY_SYMBOL_EXPORT_END
|
162
|
-
|
163
|
-
static inline struct MEMO *
|
164
|
-
MEMO_NEW(VALUE a, VALUE b, VALUE c)
|
165
|
-
{
|
166
|
-
struct MEMO *memo = IMEMO_NEW(struct MEMO, imemo_memo, 0);
|
167
|
-
*((VALUE *)&memo->v1) = a;
|
168
|
-
*((VALUE *)&memo->v2) = b;
|
169
|
-
*((VALUE *)&memo->u3.value) = c;
|
170
|
-
|
171
|
-
return memo;
|
172
|
-
}
|
173
|
-
|
174
|
-
static inline enum imemo_type
|
175
|
-
imemo_type(VALUE imemo)
|
176
|
-
{
|
177
|
-
return (RBASIC(imemo)->flags >> FL_USHIFT) & IMEMO_MASK;
|
178
|
-
}
|
179
|
-
|
180
|
-
static inline int
|
181
|
-
imemo_type_p(VALUE imemo, enum imemo_type imemo_type)
|
182
|
-
{
|
183
|
-
if (LIKELY(!RB_SPECIAL_CONST_P(imemo))) {
|
184
|
-
/* fixed at compile time if imemo_type is given. */
|
185
|
-
const VALUE mask = (IMEMO_MASK << FL_USHIFT) | RUBY_T_MASK;
|
186
|
-
const VALUE expected_type = (imemo_type << FL_USHIFT) | T_IMEMO;
|
187
|
-
/* fixed at runtime. */
|
188
|
-
return expected_type == (RBASIC(imemo)->flags & mask);
|
189
|
-
}
|
190
|
-
else {
|
191
|
-
return 0;
|
192
|
-
}
|
193
|
-
}
|
194
|
-
|
195
|
-
#define IMEMO_TYPE_P(v, t) imemo_type_p((VALUE)(v), t)
|
196
|
-
|
197
|
-
static inline bool
|
198
|
-
imemo_throw_data_p(VALUE imemo)
|
199
|
-
{
|
200
|
-
return RB_TYPE_P(imemo, T_IMEMO);
|
201
|
-
}
|
202
|
-
|
203
|
-
static inline struct vm_ifunc *
|
204
|
-
rb_vm_ifunc_proc_new(rb_block_call_func_t func, const void *data)
|
205
|
-
{
|
206
|
-
return rb_vm_ifunc_new(func, data, 0, UNLIMITED_ARGUMENTS);
|
207
|
-
}
|
208
|
-
|
209
|
-
static inline VALUE
|
210
|
-
rb_imemo_tmpbuf_auto_free_pointer(void)
|
211
|
-
{
|
212
|
-
return rb_imemo_new(imemo_tmpbuf, 0);
|
213
|
-
}
|
214
|
-
|
215
|
-
static inline void *
|
216
|
-
RB_IMEMO_TMPBUF_PTR(VALUE v)
|
217
|
-
{
|
218
|
-
const struct rb_imemo_tmpbuf_struct *p = (const void *)v;
|
219
|
-
return p->ptr;
|
220
|
-
}
|
221
|
-
|
222
|
-
static inline void *
|
223
|
-
rb_imemo_tmpbuf_set_ptr(VALUE v, void *ptr)
|
224
|
-
{
|
225
|
-
return ((rb_imemo_tmpbuf_t *)v)->ptr = ptr;
|
226
|
-
}
|
227
|
-
|
228
|
-
static inline VALUE
|
229
|
-
rb_imemo_tmpbuf_auto_free_pointer_new_from_an_RString(VALUE str)
|
230
|
-
{
|
231
|
-
const void *src;
|
232
|
-
VALUE imemo;
|
233
|
-
rb_imemo_tmpbuf_t *tmpbuf;
|
234
|
-
void *dst;
|
235
|
-
size_t len;
|
236
|
-
|
237
|
-
StringValue(str);
|
238
|
-
/* create tmpbuf to keep the pointer before xmalloc */
|
239
|
-
imemo = rb_imemo_tmpbuf_auto_free_pointer();
|
240
|
-
tmpbuf = (rb_imemo_tmpbuf_t *)imemo;
|
241
|
-
len = RSTRING_LEN(str);
|
242
|
-
src = RSTRING_PTR(str);
|
243
|
-
dst = ruby_xmalloc(len);
|
244
|
-
memcpy(dst, src, len);
|
245
|
-
tmpbuf->ptr = dst;
|
246
|
-
return imemo;
|
247
|
-
}
|
248
|
-
|
249
|
-
static inline void
|
250
|
-
MEMO_V1_SET(struct MEMO *m, VALUE v)
|
251
|
-
{
|
252
|
-
RB_OBJ_WRITE(m, &m->v1, v);
|
253
|
-
}
|
254
|
-
|
255
|
-
static inline void
|
256
|
-
MEMO_V2_SET(struct MEMO *m, VALUE v)
|
257
|
-
{
|
258
|
-
RB_OBJ_WRITE(m, &m->v2, v);
|
259
|
-
}
|
260
|
-
|
261
|
-
#endif /* INTERNAL_IMEMO_H */
|
@@ -1,143 +0,0 @@
|
|
1
|
-
#ifndef INTERNAL_IO_H /*-*-C-*-vi:se ft=c:*/
|
2
|
-
#define INTERNAL_IO_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 IO.
|
10
|
-
*/
|
11
|
-
#include "ruby/ruby.h" /* for VALUE */
|
12
|
-
|
13
|
-
#define HAVE_RB_IO_T
|
14
|
-
struct rb_io;
|
15
|
-
|
16
|
-
#include "ruby/io.h" /* for rb_io_t */
|
17
|
-
|
18
|
-
#define IO_WITHOUT_GVL(func, arg) rb_thread_call_without_gvl(func, arg, RUBY_UBF_IO, 0)
|
19
|
-
#define IO_WITHOUT_GVL_INT(func, arg) (int)(VALUE)IO_WITHOUT_GVL(func, arg)
|
20
|
-
|
21
|
-
/** Ruby's IO, metadata and buffers. */
|
22
|
-
struct rb_io {
|
23
|
-
|
24
|
-
/** The IO's Ruby level counterpart. */
|
25
|
-
VALUE self;
|
26
|
-
|
27
|
-
/** stdio ptr for read/write, if available. */
|
28
|
-
FILE *stdio_file;
|
29
|
-
|
30
|
-
/** file descriptor. */
|
31
|
-
int fd;
|
32
|
-
|
33
|
-
/** mode flags: FMODE_XXXs */
|
34
|
-
int mode;
|
35
|
-
|
36
|
-
/** child's pid (for pipes) */
|
37
|
-
rb_pid_t pid;
|
38
|
-
|
39
|
-
/** number of lines read */
|
40
|
-
int lineno;
|
41
|
-
|
42
|
-
/** pathname for file */
|
43
|
-
VALUE pathv;
|
44
|
-
|
45
|
-
/** finalize proc */
|
46
|
-
void (*finalize)(struct rb_io*,int);
|
47
|
-
|
48
|
-
/** Write buffer. */
|
49
|
-
rb_io_buffer_t wbuf;
|
50
|
-
|
51
|
-
/**
|
52
|
-
* (Byte) read buffer. Note also that there is a field called
|
53
|
-
* ::rb_io_t::cbuf, which also concerns read IO.
|
54
|
-
*/
|
55
|
-
rb_io_buffer_t rbuf;
|
56
|
-
|
57
|
-
/**
|
58
|
-
* Duplex IO object, if set.
|
59
|
-
*
|
60
|
-
* @see rb_io_set_write_io()
|
61
|
-
*/
|
62
|
-
VALUE tied_io_for_writing;
|
63
|
-
|
64
|
-
struct rb_io_encoding encs; /**< Decomposed encoding flags. */
|
65
|
-
|
66
|
-
/** Encoding converter used when reading from this IO. */
|
67
|
-
rb_econv_t *readconv;
|
68
|
-
|
69
|
-
/**
|
70
|
-
* rb_io_ungetc() destination. This buffer is read before checking
|
71
|
-
* ::rb_io_t::rbuf
|
72
|
-
*/
|
73
|
-
rb_io_buffer_t cbuf;
|
74
|
-
|
75
|
-
/** Encoding converter used when writing to this IO. */
|
76
|
-
rb_econv_t *writeconv;
|
77
|
-
|
78
|
-
/**
|
79
|
-
* This is, when set, an instance of ::rb_cString which holds the "common"
|
80
|
-
* encoding. Write conversion can convert strings twice... In case
|
81
|
-
* conversion from encoding X to encoding Y does not exist, Ruby finds an
|
82
|
-
* encoding Z that bridges the two, so that X to Z to Y conversion happens.
|
83
|
-
*/
|
84
|
-
VALUE writeconv_asciicompat;
|
85
|
-
|
86
|
-
/** Whether ::rb_io_t::writeconv is already set up. */
|
87
|
-
int writeconv_initialized;
|
88
|
-
|
89
|
-
/**
|
90
|
-
* Value of ::rb_io_t::rb_io_enc_t::ecflags stored right before
|
91
|
-
* initialising ::rb_io_t::writeconv.
|
92
|
-
*/
|
93
|
-
int writeconv_pre_ecflags;
|
94
|
-
|
95
|
-
/**
|
96
|
-
* Value of ::rb_io_t::rb_io_enc_t::ecopts stored right before initialising
|
97
|
-
* ::rb_io_t::writeconv.
|
98
|
-
*/
|
99
|
-
VALUE writeconv_pre_ecopts;
|
100
|
-
|
101
|
-
/**
|
102
|
-
* This is a Ruby level mutex. It avoids multiple threads to write to an
|
103
|
-
* IO at once; helps for instance rb_io_puts() to ensure newlines right
|
104
|
-
* next to its arguments.
|
105
|
-
*
|
106
|
-
* This of course doesn't help inter-process IO interleaves, though.
|
107
|
-
*/
|
108
|
-
VALUE write_lock;
|
109
|
-
|
110
|
-
/**
|
111
|
-
* The timeout associated with this IO when performing blocking operations.
|
112
|
-
*/
|
113
|
-
VALUE timeout;
|
114
|
-
};
|
115
|
-
|
116
|
-
/* io.c */
|
117
|
-
void ruby_set_inplace_mode(const char *);
|
118
|
-
void rb_stdio_set_default_encoding(void);
|
119
|
-
VALUE rb_io_flush_raw(VALUE, int);
|
120
|
-
size_t rb_io_memsize(const rb_io_t *);
|
121
|
-
int rb_stderr_tty_p(void);
|
122
|
-
void rb_io_fptr_finalize_internal(void *ptr);
|
123
|
-
#ifdef rb_io_fptr_finalize
|
124
|
-
# undef rb_io_fptr_finalize
|
125
|
-
#endif
|
126
|
-
#define rb_io_fptr_finalize rb_io_fptr_finalize_internal
|
127
|
-
VALUE rb_io_popen(VALUE pname, VALUE pmode, VALUE env, VALUE opt);
|
128
|
-
|
129
|
-
VALUE rb_io_prep_stdin(void);
|
130
|
-
VALUE rb_io_prep_stdout(void);
|
131
|
-
VALUE rb_io_prep_stderr(void);
|
132
|
-
|
133
|
-
RUBY_SYMBOL_EXPORT_BEGIN
|
134
|
-
/* io.c (export) */
|
135
|
-
void rb_maygvl_fd_fix_cloexec(int fd);
|
136
|
-
int rb_gc_for_fd(int err);
|
137
|
-
void rb_write_error_str(VALUE mesg);
|
138
|
-
|
139
|
-
VALUE rb_io_blocking_region_wait(struct rb_io *io, rb_blocking_function_t *function, void *argument, enum rb_io_event events);
|
140
|
-
VALUE rb_io_blocking_region(struct rb_io *io, rb_blocking_function_t *function, void *argument);
|
141
|
-
RUBY_SYMBOL_EXPORT_END
|
142
|
-
|
143
|
-
#endif /* INTERNAL_IO_H */
|