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,71 +0,0 @@
1
- #ifndef INTERNAL_RATIONAL_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_RATIONAL_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 Rational.
10
- */
11
- #include "ruby/internal/config.h" /* for HAVE_LIBGMP */
12
- #include "ruby/ruby.h" /* for struct RBasic */
13
- #include "internal/numeric.h" /* for INT_POSITIVE_P */
14
- #include "ruby_assert.h" /* for assert */
15
-
16
- struct RRational {
17
- struct RBasic basic;
18
- VALUE num;
19
- VALUE den;
20
- };
21
-
22
- #define RRATIONAL(obj) ((struct RRational *)(obj))
23
-
24
- /* rational.c */
25
- VALUE rb_rational_canonicalize(VALUE x);
26
- VALUE rb_rational_uminus(VALUE self);
27
- VALUE rb_rational_plus(VALUE self, VALUE other);
28
- VALUE rb_rational_minus(VALUE self, VALUE other);
29
- VALUE rb_rational_mul(VALUE self, VALUE other);
30
- VALUE rb_rational_div(VALUE self, VALUE other);
31
- VALUE rb_lcm(VALUE x, VALUE y);
32
- VALUE rb_rational_reciprocal(VALUE x);
33
- VALUE rb_cstr_to_rat(const char *, int);
34
- VALUE rb_rational_hash(VALUE self);
35
- VALUE rb_rational_abs(VALUE self);
36
- VALUE rb_rational_cmp(VALUE self, VALUE other);
37
- VALUE rb_rational_pow(VALUE self, VALUE other);
38
- VALUE rb_rational_floor(VALUE self, int ndigits);
39
- VALUE rb_numeric_quo(VALUE x, VALUE y);
40
- VALUE rb_flo_round_by_rational(int argc, VALUE *argv, VALUE num);
41
- VALUE rb_float_numerator(VALUE x);
42
- VALUE rb_float_denominator(VALUE x);
43
-
44
- static inline void RATIONAL_SET_NUM(VALUE r, VALUE n);
45
- static inline void RATIONAL_SET_DEN(VALUE r, VALUE d);
46
-
47
- RUBY_SYMBOL_EXPORT_BEGIN
48
- /* rational.c (export) */
49
- VALUE rb_gcd(VALUE x, VALUE y);
50
- VALUE rb_gcd_normal(VALUE self, VALUE other);
51
- #if defined(HAVE_LIBGMP) && defined(HAVE_GMP_H)
52
- VALUE rb_gcd_gmp(VALUE x, VALUE y);
53
- #endif
54
- RUBY_SYMBOL_EXPORT_END
55
-
56
- static inline void
57
- RATIONAL_SET_NUM(VALUE r, VALUE n)
58
- {
59
- assert(RB_INTEGER_TYPE_P(n));
60
- RB_OBJ_WRITE(r, &RRATIONAL(r)->num, n);
61
- }
62
-
63
- static inline void
64
- RATIONAL_SET_DEN(VALUE r, VALUE d)
65
- {
66
- assert(RB_INTEGER_TYPE_P(d));
67
- assert(INT_POSITIVE_P(d));
68
- RB_OBJ_WRITE(r, &RRATIONAL(r)->den, d);
69
- }
70
-
71
- #endif /* INTERNAL_RATIONAL_H */
@@ -1,28 +0,0 @@
1
- #ifndef INTERNAL_RE_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_RE_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 Regexp.
10
- */
11
- #include "ruby/internal/stdbool.h" /* for bool */
12
- #include "ruby/ruby.h" /* for VALUE */
13
-
14
- /* re.c */
15
- VALUE rb_reg_compile(VALUE str, int options, const char *sourcefile, int sourceline);
16
- VALUE rb_reg_check_preprocess(VALUE);
17
- long rb_reg_search0(VALUE, VALUE, long, int, int);
18
- VALUE rb_reg_match_p(VALUE re, VALUE str, long pos);
19
- bool rb_reg_start_with_p(VALUE re, VALUE str);
20
- VALUE rb_reg_hash(VALUE re);
21
- VALUE rb_reg_equal(VALUE re1, VALUE re2);
22
- void rb_backref_set_string(VALUE string, long pos, long len);
23
- void rb_match_unbusy(VALUE);
24
- int rb_match_count(VALUE match);
25
- VALUE rb_reg_new_ary(VALUE ary, int options);
26
- VALUE rb_reg_last_defined(VALUE match);
27
-
28
- #endif /* INTERNAL_RE_H */
@@ -1,102 +0,0 @@
1
- #ifndef INTERNAL_RUBY_PARSE_H
2
- #define INTERNAL_RUBY_PARSE_H
3
-
4
- #include "internal.h"
5
- #include "internal/bignum.h"
6
- #include "internal/compilers.h"
7
- #include "internal/complex.h"
8
- #include "internal/parse.h"
9
- #include "internal/rational.h"
10
- #include "rubyparser.h"
11
- #include "vm.h"
12
-
13
- struct lex_pointer_string {
14
- VALUE str;
15
- long ptr;
16
- };
17
-
18
- RUBY_SYMBOL_EXPORT_BEGIN
19
- #ifdef UNIVERSAL_PARSER
20
- const rb_parser_config_t *rb_ruby_parser_config(void);
21
- rb_parser_t *rb_parser_params_new(void);
22
- #endif
23
- VALUE rb_parser_set_context(VALUE, const struct rb_iseq_struct *, int);
24
- VALUE rb_parser_new(void);
25
- VALUE rb_parser_compile_string_path(VALUE vparser, VALUE fname, VALUE src, int line);
26
- VALUE rb_str_new_parser_string(rb_parser_string_t *str);
27
- VALUE rb_str_new_mutable_parser_string(rb_parser_string_t *str);
28
- rb_parser_string_t *rb_parser_lex_get_str(struct parser_params *p, struct lex_pointer_string *ptr_str);
29
-
30
- VALUE rb_node_str_string_val(const NODE *);
31
- VALUE rb_node_sym_string_val(const NODE *);
32
- VALUE rb_node_dstr_string_val(const NODE *);
33
- VALUE rb_node_regx_string_val(const NODE *);
34
- VALUE rb_node_dregx_string_val(const NODE *);
35
- VALUE rb_node_line_lineno_val(const NODE *);
36
- VALUE rb_node_file_path_val(const NODE *);
37
- VALUE rb_node_encoding_val(const NODE *);
38
-
39
- VALUE rb_node_integer_literal_val(const NODE *);
40
- VALUE rb_node_float_literal_val(const NODE *);
41
- VALUE rb_node_rational_literal_val(const NODE *);
42
- VALUE rb_node_imaginary_literal_val(const NODE *);
43
- RUBY_SYMBOL_EXPORT_END
44
-
45
- VALUE rb_parser_end_seen_p(VALUE);
46
- VALUE rb_parser_encoding(VALUE);
47
- VALUE rb_parser_set_yydebug(VALUE, VALUE);
48
- VALUE rb_parser_build_script_lines_from(rb_parser_ary_t *script_lines);
49
- void rb_parser_set_options(VALUE, int, int, int, int);
50
- VALUE rb_parser_load_file(VALUE parser, VALUE name);
51
- void rb_parser_set_script_lines(VALUE vparser);
52
- void rb_parser_error_tolerant(VALUE vparser);
53
- void rb_parser_keep_tokens(VALUE vparser);
54
-
55
- VALUE rb_parser_compile_string(VALUE, const char*, VALUE, int);
56
- VALUE rb_parser_compile_file_path(VALUE vparser, VALUE fname, VALUE input, int line);
57
- VALUE rb_parser_compile_generic(VALUE vparser, rb_parser_lex_gets_func *lex_gets, VALUE fname, VALUE input, int line);
58
- VALUE rb_parser_compile_array(VALUE vparser, VALUE fname, VALUE array, int start);
59
-
60
- enum lex_state_bits {
61
- EXPR_BEG_bit, /* ignore newline, +/- is a sign. */
62
- EXPR_END_bit, /* newline significant, +/- is an operator. */
63
- EXPR_ENDARG_bit, /* ditto, and unbound braces. */
64
- EXPR_ENDFN_bit, /* ditto, and unbound braces. */
65
- EXPR_ARG_bit, /* newline significant, +/- is an operator. */
66
- EXPR_CMDARG_bit, /* newline significant, +/- is an operator. */
67
- EXPR_MID_bit, /* newline significant, +/- is an operator. */
68
- EXPR_FNAME_bit, /* ignore newline, no reserved words. */
69
- EXPR_DOT_bit, /* right after `.', `&.' or `::', no reserved words. */
70
- EXPR_CLASS_bit, /* immediate after `class', no here document. */
71
- EXPR_LABEL_bit, /* flag bit, label is allowed. */
72
- EXPR_LABELED_bit, /* flag bit, just after a label. */
73
- EXPR_FITEM_bit, /* symbol literal as FNAME. */
74
- EXPR_MAX_STATE
75
- };
76
- /* examine combinations */
77
- enum lex_state_e {
78
- #define DEF_EXPR(n) EXPR_##n = (1 << EXPR_##n##_bit)
79
- DEF_EXPR(BEG),
80
- DEF_EXPR(END),
81
- DEF_EXPR(ENDARG),
82
- DEF_EXPR(ENDFN),
83
- DEF_EXPR(ARG),
84
- DEF_EXPR(CMDARG),
85
- DEF_EXPR(MID),
86
- DEF_EXPR(FNAME),
87
- DEF_EXPR(DOT),
88
- DEF_EXPR(CLASS),
89
- DEF_EXPR(LABEL),
90
- DEF_EXPR(LABELED),
91
- DEF_EXPR(FITEM),
92
- EXPR_VALUE = EXPR_BEG,
93
- EXPR_BEG_ANY = (EXPR_BEG | EXPR_MID | EXPR_CLASS),
94
- EXPR_ARG_ANY = (EXPR_ARG | EXPR_CMDARG),
95
- EXPR_END_ANY = (EXPR_END | EXPR_ENDARG | EXPR_ENDFN),
96
- EXPR_NONE = 0
97
- };
98
-
99
- VALUE rb_ruby_ast_new(const NODE *const root);
100
- rb_ast_t *rb_ruby_ast_data_get(VALUE ast_value);
101
-
102
- #endif /* INTERNAL_RUBY_PARSE_H */
@@ -1,23 +0,0 @@
1
- #ifndef INTERNAL_SERIAL_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_SERIAL_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 rb_serial_t.
10
- */
11
- #include "ruby/internal/config.h" /* for HAVE_LONG_LONG */
12
- #include "ruby/defines.h" /* for LONG_LONG */
13
-
14
- #ifndef HAVE_LONG_LONG
15
- # error need C99+
16
- #endif
17
-
18
- typedef unsigned LONG_LONG rb_serial_t;
19
- #define SERIALT2NUM ULL2NUM
20
- #define PRI_SERIALT_PREFIX PRI_LL_PREFIX
21
- #define SIZEOF_SERIAL_T SIZEOF_LONG_LONG
22
-
23
- #endif /* INTERNAL_SERIAL_H */
@@ -1,24 +0,0 @@
1
- #ifndef INTERNAL_SIGNAL_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_SIGNAL_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 SignalException.
10
- */
11
-
12
- /* signal.c */
13
- extern int ruby_enable_coredump;
14
- int rb_get_next_signal(void);
15
-
16
- #ifdef POSIX_SIGNAL
17
- void (*ruby_posix_signal(int, void (*)(int)))(int);
18
- #endif
19
-
20
- RUBY_SYMBOL_EXPORT_BEGIN
21
- /* signal.c (export) */
22
- RUBY_SYMBOL_EXPORT_END
23
-
24
- #endif /* INTERNAL_SIGNAL_H */
@@ -1,11 +0,0 @@
1
- #ifndef INTERNAL_ST_H
2
- #define INTERNAL_ST_H
3
-
4
- #include "include/ruby/st.h"
5
-
6
- st_table *rb_st_replace(st_table *new_tab, st_table *old_tab);
7
- #define st_replace rb_st_replace
8
- st_table *rb_st_init_existing_table_with_size(st_table *tab, const struct st_hash_type *type, st_index_t size);
9
- #define st_init_existing_table_with_size rb_st_init_existing_table_with_size
10
-
11
- #endif
@@ -1,16 +0,0 @@
1
- #ifndef INTERNAL_STATIC_ASSERT_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_STATIC_ASSERT_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 C11 shim for _Static_assert.
10
- */
11
- #include "ruby/internal/static_assert.h"
12
- #ifndef STATIC_ASSERT
13
- # define STATIC_ASSERT RBIMPL_STATIC_ASSERT
14
- #endif
15
-
16
- #endif /* INTERNAL_STATIC_ASSERT_H */
@@ -1,127 +0,0 @@
1
- #ifndef INTERNAL_STRUCT_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_STRUCT_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 Struct.
10
- */
11
- #include "ruby/internal/stdbool.h" /* for bool */
12
- #include "ruby/ruby.h" /* for struct RBasic */
13
-
14
- enum {
15
- RSTRUCT_EMBED_LEN_MASK = RUBY_FL_USER7 | RUBY_FL_USER6 | RUBY_FL_USER5 | RUBY_FL_USER4 |
16
- RUBY_FL_USER3 | RUBY_FL_USER2 | RUBY_FL_USER1,
17
- RSTRUCT_EMBED_LEN_SHIFT = (RUBY_FL_USHIFT+1),
18
- };
19
-
20
- struct RStruct {
21
- struct RBasic basic;
22
- union {
23
- struct {
24
- long len;
25
- const VALUE *ptr;
26
- } heap;
27
- /* This is a length 1 array because:
28
- * 1. GCC has a bug that does not optimize C flexible array members
29
- * (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102452)
30
- * 2. Zero length arrays are not supported by all compilers
31
- */
32
- const VALUE ary[1];
33
- } as;
34
- };
35
-
36
- #define RSTRUCT(obj) ((struct RStruct *)(obj))
37
-
38
- #ifdef RSTRUCT_LEN
39
- # undef RSTRUCT_LEN
40
- #endif
41
-
42
- #ifdef RSTRUCT_PTR
43
- # undef RSTRUCT_PTR
44
- #endif
45
-
46
- #ifdef RSTRUCT_SET
47
- # undef RSTRUCT_SET
48
- #endif
49
-
50
- #ifdef RSTRUCT_GET
51
- # undef RSTRUCT_GET
52
- #endif
53
-
54
- #define RSTRUCT_LEN internal_RSTRUCT_LEN
55
- #define RSTRUCT_SET internal_RSTRUCT_SET
56
- #define RSTRUCT_GET internal_RSTRUCT_GET
57
-
58
- /* struct.c */
59
- VALUE rb_struct_init_copy(VALUE copy, VALUE s);
60
- VALUE rb_struct_lookup(VALUE s, VALUE idx);
61
- VALUE rb_struct_s_keyword_init(VALUE klass);
62
- static inline const VALUE *rb_struct_const_heap_ptr(VALUE st);
63
- static inline long RSTRUCT_EMBED_LEN(VALUE st);
64
- static inline long RSTRUCT_LEN(VALUE st);
65
- static inline int RSTRUCT_LENINT(VALUE st);
66
- static inline const VALUE *RSTRUCT_CONST_PTR(VALUE st);
67
- static inline void RSTRUCT_SET(VALUE st, long k, VALUE v);
68
- static inline VALUE RSTRUCT_GET(VALUE st, long k);
69
-
70
- static inline long
71
- RSTRUCT_EMBED_LEN(VALUE st)
72
- {
73
- long ret = FL_TEST_RAW(st, RSTRUCT_EMBED_LEN_MASK);
74
- ret >>= RSTRUCT_EMBED_LEN_SHIFT;
75
- return ret;
76
- }
77
-
78
- static inline long
79
- RSTRUCT_LEN(VALUE st)
80
- {
81
- if (FL_TEST_RAW(st, RSTRUCT_EMBED_LEN_MASK)) {
82
- return RSTRUCT_EMBED_LEN(st);
83
- }
84
- else {
85
- return RSTRUCT(st)->as.heap.len;
86
- }
87
- }
88
-
89
- static inline int
90
- RSTRUCT_LENINT(VALUE st)
91
- {
92
- return rb_long2int(RSTRUCT_LEN(st));
93
- }
94
-
95
- static inline const VALUE *
96
- RSTRUCT_CONST_PTR(VALUE st)
97
- {
98
- const struct RStruct *p = RSTRUCT(st);
99
-
100
- if (FL_TEST_RAW(st, RSTRUCT_EMBED_LEN_MASK)) {
101
- return p->as.ary;
102
- }
103
- else {
104
- return p->as.heap.ptr;
105
- }
106
- }
107
-
108
- static inline void
109
- RSTRUCT_SET(VALUE st, long k, VALUE v)
110
- {
111
- RB_OBJ_WRITE(st, &RSTRUCT_CONST_PTR(st)[k], v);
112
- }
113
-
114
- static inline VALUE
115
- RSTRUCT_GET(VALUE st, long k)
116
- {
117
- return RSTRUCT_CONST_PTR(st)[k];
118
- }
119
-
120
- static inline const VALUE *
121
- rb_struct_const_heap_ptr(VALUE st)
122
- {
123
- assert(!FL_TEST_RAW(st, RSTRUCT_EMBED_LEN_MASK));
124
- return RSTRUCT(st)->as.heap.ptr;
125
- }
126
-
127
- #endif /* INTERNAL_STRUCT_H */
@@ -1,45 +0,0 @@
1
- #ifndef INTERNAL_SYMBOL_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_SYMBOL_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 Symbol.
10
- */
11
- #include "ruby/ruby.h" /* for VALUE */
12
- #include "ruby/encoding.h" /* for rb_encoding */
13
- #include "internal/compilers.h" /* for __has_builtin */
14
-
15
- #ifdef rb_sym_intern_ascii_cstr
16
- # undef rb_sym_intern_ascii_cstr
17
- #endif
18
-
19
- /* symbol.c */
20
- VALUE rb_to_symbol_type(VALUE obj);
21
- VALUE rb_sym_intern(const char *ptr, long len, rb_encoding *enc);
22
- VALUE rb_sym_intern_ascii(const char *ptr, long len);
23
- VALUE rb_sym_intern_ascii_cstr(const char *ptr);
24
- int rb_is_const_name(VALUE name);
25
- int rb_is_class_name(VALUE name);
26
- int rb_is_instance_name(VALUE name);
27
- int rb_is_local_name(VALUE name);
28
- PUREFUNC(int rb_is_const_sym(VALUE sym));
29
- PUREFUNC(int rb_is_attrset_sym(VALUE sym));
30
- ID rb_make_internal_id(void);
31
- ID rb_make_temporary_id(size_t n);
32
- void rb_gc_free_dsymbol(VALUE);
33
- int rb_static_id_valid_p(ID id);
34
-
35
- /* vm.c */
36
- void rb_free_static_symid_str(void);
37
-
38
- #if __has_builtin(__builtin_constant_p)
39
- #define rb_sym_intern_ascii_cstr(ptr) \
40
- (__builtin_constant_p(ptr) ? \
41
- rb_sym_intern_ascii((ptr), (long)strlen(ptr)) : \
42
- rb_sym_intern_ascii_cstr(ptr))
43
- #endif
44
-
45
- #endif /* INTERNAL_SYMBOL_H */
@@ -1,34 +0,0 @@
1
- #ifndef INTERNAL_TIME_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_TIME_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 Time.
10
- */
11
- #include "ruby/internal/config.h" /* for SIGNEDNESS_OF_TIME_T */
12
- #include "internal/bits.h" /* for SIGNED_INTEGER_MAX */
13
- #include "ruby/ruby.h" /* for VALUE */
14
-
15
- #if SIGNEDNESS_OF_TIME_T < 0 /* signed */
16
- # define TIMET_MAX SIGNED_INTEGER_MAX(time_t)
17
- # define TIMET_MIN SIGNED_INTEGER_MIN(time_t)
18
- #elif SIGNEDNESS_OF_TIME_T > 0 /* unsigned */
19
- # define TIMET_MAX UNSIGNED_INTEGER_MAX(time_t)
20
- # define TIMET_MIN ((time_t)0)
21
- #endif
22
-
23
- struct timeval; /* <- in <sys/time.h> or <winsock2.h> */
24
-
25
- /* time.c */
26
- struct timeval rb_time_timeval(VALUE);
27
-
28
- RUBY_SYMBOL_EXPORT_BEGIN
29
- /* time.c (export) */
30
- void ruby_reset_leap_second_info(void);
31
- void ruby_reset_timezone(void);
32
- RUBY_SYMBOL_EXPORT_END
33
-
34
- #endif /* INTERNAL_TIME_H */
@@ -1,23 +0,0 @@
1
- #ifndef INTERNAL_TRANSCODE_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_TRANSCODE_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::Converter.
10
- */
11
- #include "ruby/internal/config.h"
12
- #include <stddef.h> /* for size_t */
13
- #include "ruby/ruby.h" /* for VALUE */
14
- #include "ruby/encoding.h" /* for rb_econv_t */
15
-
16
- /* transcode.c */
17
- extern VALUE rb_cEncodingConverter;
18
- size_t rb_econv_memsize(rb_econv_t *);
19
-
20
- /* vm.c */
21
- void rb_free_transcoder_table(void);
22
-
23
- #endif /* INTERNAL_TRANSCODE_H */
@@ -1,27 +0,0 @@
1
- #ifndef INTERNAL_UTIL_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_UTIL_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 util.c.
10
- * @warning DO NOT ADD RANDOM GARBAGE HERE THIS FILE IS FOR util.c
11
- */
12
- #include "ruby/internal/config.h"
13
- #include <stddef.h> /* for size_t */
14
-
15
- #ifdef HAVE_SYS_TYPES_H
16
- # include <sys/types.h> /* for ssize_t (note: on Windows ssize_t is */
17
- #endif /* `#define`d in ruby/config.h) */
18
-
19
- /* util.c */
20
- char *ruby_dtoa(double d_, int mode, int ndigits, int *decpt, int *sign, char **rve);
21
- char *ruby_hdtoa(double d, const char *xdigs, int ndigits, int *decpt, int *sign, char **rve);
22
-
23
- RUBY_SYMBOL_EXPORT_BEGIN
24
- /* util.c (export) */
25
- RUBY_SYMBOL_EXPORT_END
26
-
27
- #endif /* INTERNAL_UTIL_H */
@@ -1,72 +0,0 @@
1
- #ifndef INTERNAL_VARIABLE_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_VARIABLE_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 variables.
10
- */
11
- #include "ruby/internal/config.h"
12
- #include <stddef.h> /* for size_t */
13
- #include "constant.h" /* for rb_const_entry_t */
14
- #include "ruby/internal/stdbool.h" /* for bool */
15
- #include "ruby/ruby.h" /* for VALUE */
16
- #include "shape.h" /* for rb_shape_t */
17
-
18
- /* variable.c */
19
- void rb_gc_mark_global_tbl(void);
20
- void rb_gc_update_global_tbl(void);
21
- size_t rb_generic_ivar_memsize(VALUE);
22
- VALUE rb_search_class_path(VALUE);
23
- VALUE rb_attr_delete(VALUE, ID);
24
- void rb_autoload_str(VALUE mod, ID id, VALUE file);
25
- VALUE rb_autoload_at_p(VALUE, ID, int);
26
- NORETURN(VALUE rb_mod_const_missing(VALUE,VALUE));
27
- rb_gvar_getter_t *rb_gvar_getter_function_of(ID);
28
- rb_gvar_setter_t *rb_gvar_setter_function_of(ID);
29
- void rb_gvar_readonly_setter(VALUE v, ID id, VALUE *_);
30
- void rb_gvar_ractor_local(const char *name);
31
-
32
- /**
33
- * Sets the name of a module.
34
- *
35
- * Non-permanently named classes can have a temporary name assigned (or
36
- * cleared). In that case the name will be used for `#inspect` and `#to_s`, and
37
- * nested classes/modules will be named with the temporary name as a prefix.
38
- *
39
- * After the module is assigned to a constant, the temporary name will be
40
- * discarded, and the name will be computed based on the nesting.
41
- *
42
- * @param[in] mod An instance of ::rb_cModule.
43
- * @param[in] name An instance of ::rb_cString.
44
- * @retval mod
45
- */
46
- VALUE rb_mod_set_temporary_name(VALUE, VALUE);
47
-
48
- struct gen_ivtbl;
49
- int rb_gen_ivtbl_get(VALUE obj, ID id, struct gen_ivtbl **ivtbl);
50
- void rb_obj_copy_ivs_to_hash_table(VALUE obj, st_table *table);
51
- void rb_obj_convert_to_too_complex(VALUE obj, st_table *table);
52
- void rb_evict_ivars_to_hash(VALUE obj);
53
-
54
- RUBY_SYMBOL_EXPORT_BEGIN
55
- /* variable.c (export) */
56
- void rb_mark_generic_ivar(VALUE obj);
57
- void rb_ref_update_generic_ivar(VALUE);
58
- void rb_mv_generic_ivar(VALUE src, VALUE dst);
59
- VALUE rb_const_missing(VALUE klass, VALUE name);
60
- int rb_class_ivar_set(VALUE klass, ID vid, VALUE value);
61
- void rb_iv_tbl_copy(VALUE dst, VALUE src);
62
- RUBY_SYMBOL_EXPORT_END
63
-
64
- VALUE rb_ivar_lookup(VALUE obj, ID id, VALUE undef);
65
- VALUE rb_gvar_get(ID);
66
- VALUE rb_gvar_set(ID, VALUE);
67
- VALUE rb_gvar_defined(ID);
68
- void rb_const_warn_if_deprecated(const rb_const_entry_t *, VALUE, ID);
69
- void rb_ensure_iv_list_size(VALUE obj, uint32_t len, uint32_t newsize);
70
- attr_index_t rb_obj_ivar_set(VALUE obj, ID id, VALUE val);
71
-
72
- #endif /* INTERNAL_VARIABLE_H */
@@ -1,16 +0,0 @@
1
- #ifndef INTERNAL_WARNINGS_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_WARNINGS_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 to suppress / mandate warnings.
10
- */
11
- #include "ruby/internal/warning_push.h"
12
- #define COMPILER_WARNING_PUSH RBIMPL_WARNING_PUSH()
13
- #define COMPILER_WARNING_POP RBIMPL_WARNING_POP()
14
- #define COMPILER_WARNING_ERROR(flag) RBIMPL_WARNING_ERROR(flag)
15
- #define COMPILER_WARNING_IGNORED(flag) RBIMPL_WARNING_IGNORED(flag)
16
- #endif /* INTERNAL_WARNINGS_H */