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.
Files changed (211) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.datadog.md +5 -0
  3. data/datadog-ruby_core_source.gemspec +1 -1
  4. data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/id.h +2 -0
  5. data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/error.h +26 -0
  6. data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/internal/gc.h +1 -0
  7. data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/parse.h +2 -1
  8. data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/proc.h +1 -0
  9. data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/internal/sanitizers.h +24 -36
  10. data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/prism/ast.h +10 -0
  11. data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/extension.h +1 -1
  12. data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/prism/version.h +2 -2
  13. data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/ractor_core.h +1 -0
  14. data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/rubyparser.h +3 -1
  15. data/lib/datadog/ruby_core_source/version.rb +1 -1
  16. metadata +106 -209
  17. data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/id.h +0 -347
  18. data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/internal/basic_operators.h +0 -64
  19. data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/internal/bits.h +0 -568
  20. data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/internal/encoding.h +0 -36
  21. data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/internal/fixnum.h +0 -184
  22. data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/internal/gc.h +0 -322
  23. data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/internal/imemo.h +0 -261
  24. data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/internal/io.h +0 -143
  25. data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/internal/ractor.h +0 -6
  26. data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/internal/sanitizers.h +0 -326
  27. data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/internal/string.h +0 -186
  28. data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/internal/thread.h +0 -85
  29. data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/internal/vm.h +0 -137
  30. data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/method.h +0 -255
  31. data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/prism/ast.h +0 -7524
  32. data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/prism/defines.h +0 -242
  33. data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/prism/diagnostic.h +0 -450
  34. data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/prism/prism.h +0 -336
  35. data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/prism/version.h +0 -29
  36. data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/prism_compile.h +0 -99
  37. data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/ractor_core.h +0 -382
  38. data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/rubyparser.h +0 -1350
  39. data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/thread_pthread.h +0 -168
  40. data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/vm_core.h +0 -2222
  41. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/ccan/build_assert/build_assert.h +0 -40
  42. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/ccan/check_type/check_type.h +0 -63
  43. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/ccan/container_of/container_of.h +0 -142
  44. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/ccan/list/list.h +0 -791
  45. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/ccan/str/str.h +0 -17
  46. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/id_table.h +0 -39
  47. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/array.h +0 -152
  48. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/bignum.h +0 -244
  49. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/class.h +0 -283
  50. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/cmdlineopt.h +0 -65
  51. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/compar.h +0 -29
  52. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/compile.h +0 -34
  53. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/compilers.h +0 -107
  54. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/complex.h +0 -29
  55. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/cont.h +0 -35
  56. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/dir.h +0 -16
  57. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/enc.h +0 -19
  58. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/enum.h +0 -18
  59. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/enumerator.h +0 -21
  60. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/error.h +0 -218
  61. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/eval.h +0 -33
  62. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/file.h +0 -38
  63. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/hash.h +0 -192
  64. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/inits.h +0 -47
  65. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/load.h +0 -18
  66. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/loadpath.h +0 -16
  67. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/math.h +0 -23
  68. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/missing.h +0 -19
  69. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/numeric.h +0 -274
  70. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/object.h +0 -63
  71. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/parse.h +0 -129
  72. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/proc.h +0 -30
  73. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/process.h +0 -124
  74. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/random.h +0 -17
  75. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/range.h +0 -40
  76. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/rational.h +0 -71
  77. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/re.h +0 -28
  78. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/ruby_parser.h +0 -102
  79. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/serial.h +0 -23
  80. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/signal.h +0 -24
  81. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/st.h +0 -11
  82. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/static_assert.h +0 -16
  83. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/struct.h +0 -127
  84. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/symbol.h +0 -45
  85. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/time.h +0 -34
  86. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/transcode.h +0 -23
  87. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/util.h +0 -27
  88. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/variable.h +0 -72
  89. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal/warnings.h +0 -16
  90. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/internal.h +0 -108
  91. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/iseq.h +0 -340
  92. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/node.h +0 -111
  93. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/parser_st.h +0 -162
  94. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/parser_value.h +0 -106
  95. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/encoding.h +0 -283
  96. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/extension.h +0 -19
  97. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/node.h +0 -129
  98. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/options.h +0 -396
  99. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/pack.h +0 -163
  100. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/parser.h +0 -933
  101. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/prettyprint.h +0 -34
  102. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/regexp.h +0 -43
  103. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/static_literals.h +0 -121
  104. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/util/pm_buffer.h +0 -218
  105. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/util/pm_char.h +0 -204
  106. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/util/pm_constant_pool.h +0 -218
  107. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/util/pm_integer.h +0 -126
  108. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/util/pm_list.h +0 -97
  109. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/util/pm_memchr.h +0 -29
  110. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/util/pm_newline_list.h +0 -113
  111. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/util/pm_string.h +0 -190
  112. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/util/pm_strncasecmp.h +0 -32
  113. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/util/pm_strpbrk.h +0 -46
  114. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/ruby_assert.h +0 -14
  115. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/ruby_atomic.h +0 -23
  116. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/shape.h +0 -234
  117. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/thread_none.h +0 -21
  118. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/vm_debug.h +0 -124
  119. data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/vm_opts.h +0 -67
  120. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/ccan/build_assert/build_assert.h +0 -0
  121. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/ccan/check_type/check_type.h +0 -0
  122. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/ccan/container_of/container_of.h +0 -0
  123. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/ccan/list/list.h +0 -0
  124. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/ccan/str/str.h +0 -0
  125. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/id_table.h +0 -0
  126. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/array.h +0 -0
  127. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/internal/basic_operators.h +0 -0
  128. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/bignum.h +0 -0
  129. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/internal/bits.h +0 -0
  130. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/class.h +0 -0
  131. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/cmdlineopt.h +0 -0
  132. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/compar.h +0 -0
  133. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/compile.h +0 -0
  134. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/compilers.h +0 -0
  135. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/complex.h +0 -0
  136. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/cont.h +0 -0
  137. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/dir.h +0 -0
  138. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/enc.h +0 -0
  139. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/internal/encoding.h +0 -0
  140. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/enum.h +0 -0
  141. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/enumerator.h +0 -0
  142. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/eval.h +0 -0
  143. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/file.h +0 -0
  144. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/internal/fixnum.h +0 -0
  145. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/hash.h +0 -0
  146. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/internal/imemo.h +0 -0
  147. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/inits.h +0 -0
  148. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/internal/io.h +0 -0
  149. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/load.h +0 -0
  150. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/loadpath.h +0 -0
  151. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/math.h +0 -0
  152. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/missing.h +0 -0
  153. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/numeric.h +0 -0
  154. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/object.h +0 -0
  155. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/process.h +0 -0
  156. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/internal/ractor.h +0 -0
  157. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/random.h +0 -0
  158. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/range.h +0 -0
  159. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/rational.h +0 -0
  160. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/re.h +0 -0
  161. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/ruby_parser.h +0 -0
  162. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/serial.h +0 -0
  163. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/signal.h +0 -0
  164. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/st.h +0 -0
  165. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/static_assert.h +0 -0
  166. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/internal/string.h +0 -0
  167. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/struct.h +0 -0
  168. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/symbol.h +0 -0
  169. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/internal/thread.h +0 -0
  170. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/time.h +0 -0
  171. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/transcode.h +0 -0
  172. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/util.h +0 -0
  173. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/variable.h +0 -0
  174. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/internal/vm.h +0 -0
  175. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal/warnings.h +0 -0
  176. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/internal.h +0 -0
  177. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/iseq.h +0 -0
  178. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/method.h +0 -0
  179. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/node.h +0 -0
  180. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/parser_st.h +0 -0
  181. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/parser_value.h +0 -0
  182. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/prism/defines.h +0 -0
  183. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/prism/diagnostic.h +0 -0
  184. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/encoding.h +0 -0
  185. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/node.h +0 -0
  186. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/options.h +0 -0
  187. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/pack.h +0 -0
  188. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/parser.h +0 -0
  189. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/prettyprint.h +0 -0
  190. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/prism/prism.h +0 -0
  191. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/regexp.h +0 -0
  192. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/static_literals.h +0 -0
  193. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/util/pm_buffer.h +0 -0
  194. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/util/pm_char.h +0 -0
  195. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/util/pm_constant_pool.h +0 -0
  196. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/util/pm_integer.h +0 -0
  197. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/util/pm_list.h +0 -0
  198. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/util/pm_memchr.h +0 -0
  199. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/util/pm_newline_list.h +0 -0
  200. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/util/pm_string.h +0 -0
  201. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/util/pm_strncasecmp.h +0 -0
  202. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/prism/util/pm_strpbrk.h +0 -0
  203. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/prism_compile.h +0 -0
  204. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/ruby_assert.h +0 -0
  205. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/ruby_atomic.h +0 -0
  206. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/shape.h +0 -0
  207. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/thread_none.h +0 -0
  208. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/thread_pthread.h +0 -0
  209. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-rc1 → ruby-3.4.0-p0}/vm_core.h +0 -0
  210. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/vm_debug.h +0 -0
  211. /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0-p0}/vm_opts.h +0 -0
@@ -1,218 +0,0 @@
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
- #if RUBY_DEBUG
76
- # include "ruby/version.h"
77
- # define RUBY_VERSION_SINCE(major, minor) (RUBY_API_VERSION_CODE >= (major * 10000) + (minor) * 100)
78
- # define RUBY_VERSION_BEFORE(major, minor) (RUBY_API_VERSION_CODE < (major * 10000) + (minor) * 100)
79
- # if defined(RBIMPL_WARNING_PRAGMA0)
80
- # define RBIMPL_TODO0(x) RBIMPL_WARNING_PRAGMA0(message(x))
81
- # elif RBIMPL_COMPILER_SINCE(MSVC, 12, 0, 0)
82
- # define RBIMPL_TODO0(x) __pragma(message(x))
83
- # endif
84
-
85
- # if RBIMPL_HAS_ATTRIBUTE(diagnose_if) || defined(__OPTIMIZE__)
86
-
87
- #define RUBY_VERSION_isdigit(c) ('0'<=(c)&&(c)<='9')
88
- // upto 99
89
- #define RUBY_VERSION__number_len(v, ofs) \
90
- (!RUBY_VERSION_isdigit((v)[ofs]) ? \
91
- 0 : !RUBY_VERSION_isdigit((v)[(ofs) + 1]) ? 1 : 2)
92
- #define RUBY_VERSION__to_number(v, ofs) \
93
- (!RUBY_VERSION_isdigit((v)[ofs]) ? \
94
- 0 : !RUBY_VERSION_isdigit((v)[(ofs) + 1]) ? \
95
- ((v)[ofs]-'0') : \
96
- (((v)[ofs]-'0')*10+(v)[(ofs)+1]-'0'))
97
-
98
- #define RUBY_VERSION_CODE_FROM_MAJOR_MINOR_STRING(v) \
99
- (RUBY_VERSION__to_number(v, 0) * 10000 + \
100
- ((v)[RUBY_VERSION__number_len(v, 0)] == '.' ? \
101
- RUBY_VERSION__to_number(v, RUBY_VERSION__number_len(v, 0)+1) * 100 : 0))
102
- #define RUBY_VERSION_STRING_SINCE(v) (RUBY_API_VERSION_CODE >= RUBY_VERSION_CODE_FROM_MAJOR_MINOR_STRING(v))
103
- #define RUBY_VERSION_STRING_BEFORE(v) (RUBY_API_VERSION_CODE < RUBY_VERSION_CODE_FROM_MAJOR_MINOR_STRING(v))
104
-
105
- # if RBIMPL_HAS_ATTRIBUTE(diagnose_if)
106
- RBIMPL_ATTR_FORCEINLINE()
107
- static void
108
- rb_deprecated_method_to_be_removed(const char *removal)
109
- RBIMPL_ATTR_DIAGNOSE_IF(!RUBY_VERSION_isdigit(removal[0]), "malformed version number", "error")
110
- RBIMPL_ATTR_DIAGNOSE_IF(RUBY_VERSION_STRING_SINCE(removal), "deprecated method to be removed", "error")
111
- {
112
- }
113
- # else
114
- RBIMPL_ATTR_ERROR(("deprecated"))
115
- void rb_deprecated_method_to_be_removed(const char *);
116
- # define rb_deprecated_method_to_be_removed(removal) \
117
- (sizeof(char[1-2*(!RUBY_VERSION_isdigit(removal[0]) || RUBY_VERSION_STRING_SINCE(removal))])!=1 ? \
118
- rb_deprecated_method_to_be_removed(removal) : \
119
- RBIMPL_ASSERT_NOTHING)
120
- # endif
121
- # define rb_warn_deprecated_to_remove_at(removal, ...) \
122
- (rb_deprecated_method_to_be_removed(#removal), \
123
- rb_warn_deprecated_to_remove(#removal, __VA_ARGS__))
124
- # endif
125
- #endif
126
- #ifndef rb_warn_deprecated_to_remove_at
127
- # define rb_warn_deprecated_to_remove_at(removal, ...) \
128
- rb_warn_deprecated_to_remove(#removal, __VA_ARGS__)
129
- #endif
130
- #ifndef RUBY_VERSION_SINCE
131
- # define RUBY_VERSION_SINCE(major, minor) 0
132
- #endif
133
- #ifndef RUBY_VERSION_BEFORE
134
- # define RUBY_VERSION_BEFORE(major, minor) 0
135
- #endif
136
- #ifndef RBIMPL_TODO0
137
- # define RBIMPL_TODO0(x)
138
- #endif
139
- #define RBIMPL_TODO(message) RBIMPL_TODO0("TODO: " message)
140
- RBIMPL_ATTR_FORMAT(RBIMPL_PRINTF_FORMAT, 6, 0)
141
- VALUE rb_syntax_error_append(VALUE, VALUE, int, int, rb_encoding*, const char*, va_list);
142
- PRINTF_ARGS(void rb_enc_warn(rb_encoding *enc, const char *fmt, ...), 2, 3);
143
- PRINTF_ARGS(void rb_sys_enc_warning(rb_encoding *enc, const char *fmt, ...), 2, 3);
144
- PRINTF_ARGS(void rb_syserr_enc_warning(int err, rb_encoding *enc, const char *fmt, ...), 3, 4);
145
- PRINTF_ARGS(void rb_enc_compile_warning(rb_encoding *enc, const char *file, int line, const char *fmt, ...), 4, 5);
146
- PRINTF_ARGS(void rb_enc_compile_warn(rb_encoding *enc, const char *file, int line, const char *fmt, ...), 4, 5);
147
- rb_warning_category_t rb_warning_category_from_name(VALUE category);
148
- bool rb_warning_category_enabled_p(rb_warning_category_t category);
149
- VALUE rb_name_err_new(VALUE mesg, VALUE recv, VALUE method);
150
- VALUE rb_nomethod_err_new(VALUE mesg, VALUE recv, VALUE method, VALUE args, int priv);
151
- VALUE rb_key_err_new(VALUE mesg, VALUE recv, VALUE name);
152
- PRINTF_ARGS(VALUE rb_warning_string(const char *fmt, ...), 1, 2);
153
- RBIMPL_ATTR_FORMAT(RBIMPL_PRINTF_FORMAT, 2, 0)
154
- NORETURN(void rb_vraise(VALUE, const char *, va_list));
155
- NORETURN(static inline void rb_raise_cstr(VALUE etype, const char *mesg));
156
- NORETURN(static inline void rb_raise_cstr_i(VALUE etype, VALUE mesg));
157
- NORETURN(static inline void rb_name_err_raise_str(VALUE mesg, VALUE recv, VALUE name));
158
- NORETURN(static inline void rb_name_err_raise(const char *mesg, VALUE recv, VALUE name));
159
- NORETURN(static inline void rb_key_err_raise(VALUE mesg, VALUE recv, VALUE name));
160
- static inline void Check_Type(VALUE v, enum ruby_value_type t);
161
- static inline bool rb_typeddata_is_instance_of_inline(VALUE obj, const rb_data_type_t *data_type);
162
- #define rb_typeddata_is_instance_of rb_typeddata_is_instance_of_inline
163
-
164
- RUBY_SYMBOL_EXPORT_BEGIN
165
- /* error.c (export) */
166
- int rb_bug_reporter_add(void (*func)(FILE *, void *), void *data);
167
- #ifdef RUBY_FUNCTION_NAME_STRING
168
- NORETURN(void rb_sys_fail_path_in(const char *func_name, VALUE path));
169
- NORETURN(void rb_syserr_fail_path_in(const char *func_name, int err, VALUE path));
170
- VALUE rb_syserr_new_path_in(const char *func_name, int n, VALUE path);
171
- #endif
172
- RUBY_SYMBOL_EXPORT_END
173
-
174
- /* vm.c */
175
- void rb_free_warning(void);
176
-
177
- static inline void
178
- rb_raise_cstr_i(VALUE etype, VALUE mesg)
179
- {
180
- VALUE exc = rb_exc_new_str(etype, mesg);
181
- rb_exc_raise(exc);
182
- }
183
-
184
- static inline void
185
- rb_raise_cstr(VALUE etype, const char *mesg)
186
- {
187
- VALUE str = rb_str_new_cstr(mesg);
188
- rb_raise_cstr_i(etype, str);
189
- }
190
-
191
- static inline void
192
- rb_name_err_raise_str(VALUE mesg, VALUE recv, VALUE name)
193
- {
194
- VALUE exc = rb_name_err_new(mesg, recv, name);
195
- rb_exc_raise(exc);
196
- }
197
-
198
- static inline void
199
- rb_name_err_raise(const char *mesg, VALUE recv, VALUE name)
200
- {
201
- VALUE str = rb_fstring_cstr(mesg);
202
- rb_name_err_raise_str(str, recv, name);
203
- }
204
-
205
- static inline void
206
- rb_key_err_raise(VALUE mesg, VALUE recv, VALUE name)
207
- {
208
- VALUE exc = rb_key_err_new(mesg, recv, name);
209
- rb_exc_raise(exc);
210
- }
211
-
212
- static inline bool
213
- rb_typeddata_is_instance_of_inline(VALUE obj, const rb_data_type_t *data_type)
214
- {
215
- return RB_TYPE_P(obj, T_DATA) && RTYPEDDATA_P(obj) && (RTYPEDDATA_TYPE(obj) == data_type);
216
- }
217
-
218
- #endif /* INTERNAL_ERROR_H */
@@ -1,33 +0,0 @@
1
- #ifndef INTERNAL_EVAL_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_EVAL_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 evaluator.
10
- * @note There also is eval_intern.h, which is evaluator's internal
11
- * header (related to this file, but not the same role).
12
- */
13
- #include "ruby/ruby.h" /* for ID */
14
-
15
- #define id_signo ruby_static_id_signo
16
- #define id_status ruby_static_id_status
17
-
18
- /* eval.c */
19
- extern ID ruby_static_id_signo;
20
- extern ID ruby_static_id_status;
21
- VALUE rb_refinement_module_get_refined_class(VALUE module);
22
- void rb_class_modify_check(VALUE);
23
- NORETURN(VALUE rb_f_raise(int argc, VALUE *argv));
24
- VALUE rb_top_main_class(const char *method);
25
-
26
- /* eval_error.c */
27
- VALUE rb_get_backtrace(VALUE info);
28
-
29
- /* eval_jump.c */
30
- void rb_call_end_proc(VALUE data);
31
- void rb_mark_end_proc(void);
32
-
33
- #endif /* INTERNAL_EVAL_H */
@@ -1,38 +0,0 @@
1
- #ifndef INTERNAL_FILE_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_FILE_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 File.
10
- */
11
- #include "ruby/ruby.h" /* for VALUE */
12
- #include "ruby/encoding.h" /* for rb_encodinng */
13
-
14
- /* file.c */
15
- extern const char ruby_null_device[];
16
- VALUE rb_home_dir_of(VALUE user, VALUE result);
17
- VALUE rb_default_home_dir(VALUE result);
18
- VALUE rb_realpath_internal(VALUE basedir, VALUE path, int strict);
19
- VALUE rb_check_realpath(VALUE basedir, VALUE path, rb_encoding *origenc);
20
- void rb_file_const(const char*, VALUE);
21
- int rb_file_load_ok(const char *);
22
- VALUE rb_file_expand_path_fast(VALUE, VALUE);
23
- VALUE rb_file_expand_path_internal(VALUE, VALUE, int, int, VALUE);
24
- VALUE rb_get_path_check_to_string(VALUE);
25
- VALUE rb_get_path_check_convert(VALUE);
26
- int ruby_is_fd_loadable(int fd);
27
-
28
- RUBY_SYMBOL_EXPORT_BEGIN
29
- /* file.c (export) */
30
- #ifdef HAVE_READLINK
31
- VALUE rb_readlink(VALUE path, rb_encoding *enc);
32
- #endif
33
- #ifdef __APPLE__
34
- VALUE rb_str_normalize_ospath(const char *ptr, long len);
35
- #endif
36
- RUBY_SYMBOL_EXPORT_END
37
-
38
- #endif /* INTERNAL_FILE_H */
@@ -1,192 +0,0 @@
1
- #ifndef INTERNAL_HASH_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_HASH_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 Hash.
10
- */
11
- #include "ruby/internal/config.h"
12
- #include <stddef.h> /* for size_t */
13
- #include "ruby/internal/stdbool.h" /* for bool */
14
- #include "ruby/ruby.h" /* for struct RBasic */
15
- #include "ruby/st.h" /* for struct st_table */
16
-
17
- #define RHASH_AR_TABLE_MAX_SIZE SIZEOF_VALUE
18
-
19
- struct ar_table_struct;
20
- typedef unsigned char ar_hint_t;
21
-
22
- enum ruby_rhash_flags {
23
- RHASH_PASS_AS_KEYWORDS = FL_USER1, /* FL 1 */
24
- RHASH_PROC_DEFAULT = FL_USER2, /* FL 2 */
25
- RHASH_ST_TABLE_FLAG = FL_USER3, /* FL 3 */
26
- RHASH_AR_TABLE_SIZE_MASK = (FL_USER4|FL_USER5|FL_USER6|FL_USER7), /* FL 4..7 */
27
- RHASH_AR_TABLE_SIZE_SHIFT = (FL_USHIFT+4),
28
- RHASH_AR_TABLE_BOUND_MASK = (FL_USER8|FL_USER9|FL_USER10|FL_USER11), /* FL 8..11 */
29
- RHASH_AR_TABLE_BOUND_SHIFT = (FL_USHIFT+8),
30
-
31
- // we can not put it in "enum" because it can exceed "int" range.
32
- #define RHASH_LEV_MASK (FL_USER13 | FL_USER14 | FL_USER15 | /* FL 13..19 */ \
33
- FL_USER16 | FL_USER17 | FL_USER18 | FL_USER19)
34
-
35
- RHASH_LEV_SHIFT = (FL_USHIFT + 13),
36
- RHASH_LEV_MAX = 127, /* 7 bits */
37
- };
38
-
39
- typedef struct ar_table_pair_struct {
40
- VALUE key;
41
- VALUE val;
42
- } ar_table_pair;
43
-
44
- typedef struct ar_table_struct {
45
- union {
46
- ar_hint_t ary[RHASH_AR_TABLE_MAX_SIZE];
47
- VALUE word;
48
- } ar_hint;
49
- /* 64bit CPU: 8B * 2 * 8 = 128B */
50
- ar_table_pair pairs[RHASH_AR_TABLE_MAX_SIZE];
51
- } ar_table;
52
-
53
- struct RHash {
54
- struct RBasic basic;
55
- const VALUE ifnone;
56
- };
57
-
58
- #define RHASH(obj) ((struct RHash *)(obj))
59
-
60
- #ifdef RHASH_IFNONE
61
- # undef RHASH_IFNONE
62
- #endif
63
-
64
- #ifdef RHASH_SIZE
65
- # undef RHASH_SIZE
66
- #endif
67
-
68
- #ifdef RHASH_EMPTY_P
69
- # undef RHASH_EMPTY_P
70
- #endif
71
-
72
- /* hash.c */
73
- void rb_hash_st_table_set(VALUE hash, st_table *st);
74
- VALUE rb_hash_default_value(VALUE hash, VALUE key);
75
- VALUE rb_hash_set_default_proc(VALUE hash, VALUE proc);
76
- long rb_dbl_long_hash(double d);
77
- st_table *rb_init_identtable(void);
78
- st_index_t rb_any_hash(VALUE a);
79
- int rb_any_cmp(VALUE a, VALUE b);
80
- VALUE rb_to_hash_type(VALUE obj);
81
- VALUE rb_hash_key_str(VALUE);
82
- VALUE rb_hash_values(VALUE hash);
83
- VALUE rb_hash_rehash(VALUE hash);
84
- int rb_hash_add_new_element(VALUE hash, VALUE key, VALUE val);
85
- VALUE rb_hash_set_pair(VALUE hash, VALUE pair);
86
- int rb_hash_stlike_delete(VALUE hash, st_data_t *pkey, st_data_t *pval);
87
- int rb_hash_stlike_foreach_with_replace(VALUE hash, st_foreach_check_callback_func *func, st_update_callback_func *replace, st_data_t arg);
88
- int rb_hash_stlike_update(VALUE hash, st_data_t key, st_update_callback_func *func, st_data_t arg);
89
- VALUE rb_ident_hash_new_with_size(st_index_t size);
90
- void rb_hash_free(VALUE hash);
91
- RUBY_EXTERN VALUE rb_cHash_empty_frozen;
92
-
93
- static inline unsigned RHASH_AR_TABLE_SIZE_RAW(VALUE h);
94
- static inline VALUE RHASH_IFNONE(VALUE h);
95
- static inline size_t RHASH_SIZE(VALUE h);
96
- static inline bool RHASH_EMPTY_P(VALUE h);
97
- static inline bool RHASH_AR_TABLE_P(VALUE h);
98
- static inline bool RHASH_ST_TABLE_P(VALUE h);
99
- static inline struct ar_table_struct *RHASH_AR_TABLE(VALUE h);
100
- static inline st_table *RHASH_ST_TABLE(VALUE h);
101
- static inline size_t RHASH_ST_SIZE(VALUE h);
102
- static inline void RHASH_ST_CLEAR(VALUE h);
103
-
104
- RUBY_SYMBOL_EXPORT_BEGIN
105
- /* hash.c (export) */
106
- VALUE rb_hash_delete_entry(VALUE hash, VALUE key);
107
- VALUE rb_ident_hash_new(void);
108
- int rb_hash_stlike_foreach(VALUE hash, st_foreach_callback_func *func, st_data_t arg);
109
- RUBY_SYMBOL_EXPORT_END
110
-
111
- VALUE rb_hash_new_with_size(st_index_t size);
112
- VALUE rb_hash_resurrect(VALUE hash);
113
- int rb_hash_stlike_lookup(VALUE hash, st_data_t key, st_data_t *pval);
114
- VALUE rb_hash_keys(VALUE hash);
115
- VALUE rb_hash_has_key(VALUE hash, VALUE key);
116
- VALUE rb_hash_compare_by_id_p(VALUE hash);
117
-
118
- st_table *rb_hash_tbl_raw(VALUE hash, const char *file, int line);
119
- #define RHASH_TBL_RAW(h) rb_hash_tbl_raw(h, __FILE__, __LINE__)
120
-
121
- VALUE rb_hash_compare_by_id(VALUE hash);
122
-
123
- static inline bool
124
- RHASH_AR_TABLE_P(VALUE h)
125
- {
126
- return ! FL_TEST_RAW(h, RHASH_ST_TABLE_FLAG);
127
- }
128
-
129
- RBIMPL_ATTR_RETURNS_NONNULL()
130
- static inline struct ar_table_struct *
131
- RHASH_AR_TABLE(VALUE h)
132
- {
133
- return (struct ar_table_struct *)((uintptr_t)h + sizeof(struct RHash));
134
- }
135
-
136
- RBIMPL_ATTR_RETURNS_NONNULL()
137
- static inline st_table *
138
- RHASH_ST_TABLE(VALUE h)
139
- {
140
- return (st_table *)((uintptr_t)h + sizeof(struct RHash));
141
- }
142
-
143
- static inline VALUE
144
- RHASH_IFNONE(VALUE h)
145
- {
146
- return RHASH(h)->ifnone;
147
- }
148
-
149
- static inline size_t
150
- RHASH_SIZE(VALUE h)
151
- {
152
- if (RHASH_AR_TABLE_P(h)) {
153
- return RHASH_AR_TABLE_SIZE_RAW(h);
154
- }
155
- else {
156
- return RHASH_ST_SIZE(h);
157
- }
158
- }
159
-
160
- static inline bool
161
- RHASH_EMPTY_P(VALUE h)
162
- {
163
- return RHASH_SIZE(h) == 0;
164
- }
165
-
166
- static inline bool
167
- RHASH_ST_TABLE_P(VALUE h)
168
- {
169
- return ! RHASH_AR_TABLE_P(h);
170
- }
171
-
172
- static inline size_t
173
- RHASH_ST_SIZE(VALUE h)
174
- {
175
- return RHASH_ST_TABLE(h)->num_entries;
176
- }
177
-
178
- static inline void
179
- RHASH_ST_CLEAR(VALUE h)
180
- {
181
- memset(RHASH_ST_TABLE(h), 0, sizeof(st_table));
182
- }
183
-
184
- static inline unsigned
185
- RHASH_AR_TABLE_SIZE_RAW(VALUE h)
186
- {
187
- VALUE ret = FL_TEST_RAW(h, RHASH_AR_TABLE_SIZE_MASK);
188
- ret >>= RHASH_AR_TABLE_SIZE_SHIFT;
189
- return (unsigned)ret;
190
- }
191
-
192
- #endif /* INTERNAL_HASH_H */
@@ -1,47 +0,0 @@
1
- #ifndef INTERNAL_INITS_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_INITS_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 aggregating init functions.
10
- */
11
-
12
- /* class.c */
13
- void Init_class_hierarchy(void);
14
-
15
- /* dmyext.c */
16
- void Init_enc(void);
17
- void Init_ext(void);
18
-
19
- /* file.c */
20
- void Init_File(void);
21
-
22
- /* localeinit.c */
23
- int Init_enc_set_filesystem_encoding(void);
24
-
25
- /* newline.c */
26
- void Init_newline(void);
27
-
28
- /* vm.c */
29
- void Init_BareVM(void);
30
- void Init_vm_objects(void);
31
-
32
- /* vm_backtrace.c */
33
- void Init_vm_backtrace(void);
34
-
35
- /* vm_eval.c */
36
- void Init_vm_eval(void);
37
-
38
- /* vm_insnhelper.c */
39
- void Init_vm_stack_canary(void);
40
-
41
- /* vm_method.c */
42
- void Init_eval_method(void);
43
-
44
- /* inits.c */
45
- void rb_call_inits(void);
46
-
47
- #endif /* INTERNAL_INITS_H */
@@ -1,18 +0,0 @@
1
- #ifndef INTERNAL_LOAD_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_LOAD_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 require.
10
- */
11
- #include "ruby/ruby.h" /* for VALUE */
12
-
13
- /* load.c */
14
- VALUE rb_get_expanded_load_path(void);
15
- int rb_require_internal(VALUE fname);
16
- NORETURN(void rb_load_fail(VALUE, const char*));
17
-
18
- #endif /* INTERNAL_LOAD_H */
@@ -1,16 +0,0 @@
1
- #ifndef INTERNAL_LOADPATH_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_LOADPATH_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 $LOAD_PATH.
10
- */
11
-
12
- /* loadpath.c */
13
- extern const char ruby_exec_prefix[];
14
- extern const char ruby_initial_load_paths[];
15
-
16
- #endif /* INTERNAL_LOADPATH_H */
@@ -1,23 +0,0 @@
1
- #ifndef INTERNAL_MATH_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_MATH_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 Math.
10
- */
11
- #include "ruby/ruby.h" /* for VALUE */
12
-
13
- /* math.c */
14
- VALUE rb_math_atan2(VALUE, VALUE);
15
- VALUE rb_math_cos(VALUE);
16
- VALUE rb_math_cosh(VALUE);
17
- VALUE rb_math_exp(VALUE);
18
- VALUE rb_math_hypot(VALUE, VALUE);
19
- VALUE rb_math_log(int argc, const VALUE *argv);
20
- VALUE rb_math_sin(VALUE);
21
- VALUE rb_math_sinh(VALUE);
22
-
23
- #endif /* INTERNAL_MATH_H */
@@ -1,19 +0,0 @@
1
- #ifndef INTERNAL_MISSING_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_MISSING_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 corresponding missing.
10
- */
11
- #include "ruby/internal/config.h" /* for HAVE_SETPROCTITLE */
12
-
13
- /* missing/setproctitle.c */
14
- #ifndef HAVE_SETPROCTITLE
15
- extern void ruby_init_setproctitle(int argc, char *argv[]);
16
- extern void ruby_free_proctitle(void);
17
- #endif
18
-
19
- #endif /* INTERNAL_MISSING_H */