datadog-ruby_core_source 3.5.3 → 3.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. checksums.yaml +4 -4
  2. data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/thread_win32.h +36 -0
  3. data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/thread_win32.h +36 -0
  4. data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/thread_win32.h +36 -0
  5. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/constant.h +53 -0
  6. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/debug_counter.h +423 -0
  7. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/vm_sync.h +137 -0
  8. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/constant.h +53 -0
  9. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/debug_counter.h +423 -0
  10. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/vm_sync.h +137 -0
  11. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/constant.h +53 -0
  12. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/debug_counter.h +423 -0
  13. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/vm_sync.h +137 -0
  14. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/constant.h +53 -0
  15. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/debug_counter.h +425 -0
  16. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/vm_sync.h +160 -0
  17. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/constant.h +53 -0
  18. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/debug_counter.h +426 -0
  19. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/vm_sync.h +160 -0
  20. data/lib/datadog/ruby_core_source/version.rb +1 -1
  21. metadata +20 -224
  22. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/bignum.h +0 -244
  23. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/bits.h +0 -568
  24. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/cmdlineopt.h +0 -65
  25. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/compar.h +0 -29
  26. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/compile.h +0 -34
  27. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/complex.h +0 -29
  28. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/cont.h +0 -35
  29. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/dir.h +0 -16
  30. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/enc.h +0 -19
  31. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/encoding.h +0 -35
  32. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/enum.h +0 -18
  33. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/enumerator.h +0 -21
  34. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/error.h +0 -216
  35. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/eval.h +0 -32
  36. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/file.h +0 -38
  37. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/fixnum.h +0 -184
  38. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/hash.h +0 -191
  39. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/inits.h +0 -50
  40. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/io.h +0 -137
  41. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/load.h +0 -18
  42. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/loadpath.h +0 -16
  43. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/math.h +0 -23
  44. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/missing.h +0 -18
  45. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/numeric.h +0 -273
  46. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/object.h +0 -60
  47. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/parse.h +0 -108
  48. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/proc.h +0 -30
  49. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/process.h +0 -124
  50. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/ractor.h +0 -6
  51. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/random.h +0 -17
  52. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/range.h +0 -40
  53. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/rational.h +0 -71
  54. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/re.h +0 -28
  55. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/ruby_parser.h +0 -69
  56. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/sanitizers.h +0 -186
  57. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/signal.h +0 -25
  58. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/string.h +0 -159
  59. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/struct.h +0 -127
  60. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/symbol.h +0 -45
  61. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/thread.h +0 -78
  62. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/time.h +0 -34
  63. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/transcode.h +0 -23
  64. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/internal/util.h +0 -27
  65. data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/prism/extension.h +0 -18
  66. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/bignum.h +0 -244
  67. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/bits.h +0 -568
  68. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/cmdlineopt.h +0 -65
  69. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/compar.h +0 -29
  70. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/compile.h +0 -34
  71. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/complex.h +0 -29
  72. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/cont.h +0 -35
  73. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/dir.h +0 -16
  74. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/enc.h +0 -19
  75. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/encoding.h +0 -35
  76. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/enum.h +0 -18
  77. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/enumerator.h +0 -21
  78. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/error.h +0 -216
  79. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/eval.h +0 -33
  80. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/file.h +0 -38
  81. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/fixnum.h +0 -184
  82. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/hash.h +0 -191
  83. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/inits.h +0 -50
  84. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/io.h +0 -137
  85. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/load.h +0 -18
  86. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/loadpath.h +0 -16
  87. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/math.h +0 -23
  88. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/missing.h +0 -18
  89. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/numeric.h +0 -273
  90. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/object.h +0 -62
  91. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/parse.h +0 -108
  92. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/proc.h +0 -30
  93. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/process.h +0 -124
  94. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/ractor.h +0 -6
  95. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/random.h +0 -17
  96. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/range.h +0 -40
  97. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/rational.h +0 -71
  98. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/re.h +0 -28
  99. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/ruby_parser.h +0 -69
  100. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/sanitizers.h +0 -186
  101. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/signal.h +0 -25
  102. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/string.h +0 -160
  103. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/struct.h +0 -127
  104. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/symbol.h +0 -45
  105. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/thread.h +0 -78
  106. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/time.h +0 -34
  107. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/transcode.h +0 -23
  108. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/internal/util.h +0 -27
  109. data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/prism/extension.h +0 -18
  110. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/bignum.h +0 -244
  111. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/bits.h +0 -650
  112. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/cmdlineopt.h +0 -65
  113. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/compar.h +0 -29
  114. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/compile.h +0 -34
  115. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/complex.h +0 -29
  116. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/cont.h +0 -35
  117. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/dir.h +0 -16
  118. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/enc.h +0 -19
  119. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/encoding.h +0 -38
  120. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/enum.h +0 -18
  121. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/enumerator.h +0 -21
  122. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/error.h +0 -244
  123. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/eval.h +0 -33
  124. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/file.h +0 -38
  125. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/fixnum.h +0 -185
  126. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/hash.h +0 -192
  127. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/inits.h +0 -47
  128. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/io.h +0 -143
  129. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/load.h +0 -18
  130. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/loadpath.h +0 -16
  131. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/math.h +0 -23
  132. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/missing.h +0 -19
  133. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/numeric.h +0 -274
  134. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/object.h +0 -63
  135. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/parse.h +0 -130
  136. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/proc.h +0 -31
  137. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/process.h +0 -124
  138. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/ractor.h +0 -10
  139. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/random.h +0 -17
  140. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/range.h +0 -40
  141. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/rational.h +0 -71
  142. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/re.h +0 -28
  143. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/ruby_parser.h +0 -102
  144. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/signal.h +0 -24
  145. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/st.h +0 -11
  146. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/string.h +0 -198
  147. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/struct.h +0 -127
  148. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/symbol.h +0 -45
  149. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/thread.h +0 -108
  150. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/time.h +0 -34
  151. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/transcode.h +0 -23
  152. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/internal/util.h +0 -27
  153. data/lib/datadog/ruby_core_source/ruby-3.4.0-p0/prism/extension.h +0 -19
  154. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/bignum.h +0 -256
  155. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/bits.h +0 -647
  156. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/cmdlineopt.h +0 -64
  157. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/compar.h +0 -29
  158. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/compile.h +0 -34
  159. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/complex.h +0 -29
  160. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/concurrent_set.h +0 -21
  161. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/cont.h +0 -34
  162. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/dir.h +0 -16
  163. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/enc.h +0 -19
  164. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/encoding.h +0 -39
  165. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/enum.h +0 -18
  166. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/enumerator.h +0 -21
  167. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/error.h +0 -251
  168. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/eval.h +0 -43
  169. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/file.h +0 -38
  170. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/fixnum.h +0 -185
  171. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/hash.h +0 -194
  172. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/inits.h +0 -51
  173. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/io.h +0 -163
  174. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/load.h +0 -20
  175. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/loadpath.h +0 -16
  176. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/math.h +0 -23
  177. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/missing.h +0 -19
  178. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/numeric.h +0 -323
  179. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/object.h +0 -63
  180. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/parse.h +0 -131
  181. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/proc.h +0 -30
  182. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/process.h +0 -124
  183. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/ractor.h +0 -10
  184. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/random.h +0 -17
  185. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/range.h +0 -40
  186. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/rational.h +0 -71
  187. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/re.h +0 -33
  188. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/ruby_parser.h +0 -102
  189. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/signal.h +0 -25
  190. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/st.h +0 -11
  191. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/string.h +0 -203
  192. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/struct.h +0 -160
  193. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/symbol.h +0 -46
  194. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/thread.h +0 -112
  195. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/time.h +0 -34
  196. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/transcode.h +0 -23
  197. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/internal/util.h +0 -27
  198. data/lib/datadog/ruby_core_source/ruby-4.0.0-p0/prism/extension.h +0 -19
  199. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/bignum.h +0 -256
  200. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/bits.h +0 -647
  201. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/cmdlineopt.h +0 -64
  202. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/compar.h +0 -29
  203. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/compile.h +0 -34
  204. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/complex.h +0 -29
  205. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/concurrent_set.h +0 -21
  206. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/cont.h +0 -34
  207. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/dir.h +0 -16
  208. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/enc.h +0 -19
  209. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/encoding.h +0 -39
  210. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/enum.h +0 -18
  211. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/enumerator.h +0 -21
  212. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/error.h +0 -251
  213. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/eval.h +0 -43
  214. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/file.h +0 -38
  215. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/fixnum.h +0 -185
  216. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/hash.h +0 -194
  217. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/inits.h +0 -51
  218. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/io.h +0 -163
  219. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/load.h +0 -20
  220. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/loadpath.h +0 -16
  221. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/math.h +0 -23
  222. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/missing.h +0 -19
  223. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/numeric.h +0 -323
  224. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/object.h +0 -63
  225. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/parse.h +0 -131
  226. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/proc.h +0 -30
  227. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/process.h +0 -124
  228. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/ractor.h +0 -10
  229. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/random.h +0 -17
  230. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/range.h +0 -40
  231. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/rational.h +0 -73
  232. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/re.h +0 -33
  233. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/ruby_parser.h +0 -102
  234. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/signal.h +0 -25
  235. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/st.h +0 -11
  236. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/string.h +0 -203
  237. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/struct.h +0 -160
  238. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/symbol.h +0 -46
  239. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/thread.h +0 -112
  240. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/time.h +0 -34
  241. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/transcode.h +0 -23
  242. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/internal/util.h +0 -27
  243. data/lib/datadog/ruby_core_source/ruby-4.0.6-p0/prism/extension.h +0 -19
@@ -1,29 +0,0 @@
1
- #ifndef INTERNAL_COMPAR_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_COMPAR_H
3
- /**
4
- * @author Ruby developers <ruby-core@ruby-lang.org>
5
- * @copyright This file is a part of the programming language Ruby.
6
- * Permission is hereby granted, to either redistribute and/or
7
- * modify this file, provided that the conditions mentioned in the
8
- * file COPYING are met. Consult the file for details.
9
- * @brief Internal header for Comparable.
10
- */
11
- #include "internal/basic_operators.h"
12
-
13
- #define STRING_P(s) (RB_TYPE_P((s), T_STRING) && CLASS_OF(s) == rb_cString)
14
-
15
- #define CMP_OPTIMIZABLE(type) BASIC_OP_UNREDEFINED_P(BOP_CMP, type##_REDEFINED_OP_FLAG)
16
-
17
- #define OPTIMIZED_CMP(a, b) \
18
- ((FIXNUM_P(a) && FIXNUM_P(b) && CMP_OPTIMIZABLE(INTEGER)) ? \
19
- (((long)a > (long)b) ? 1 : ((long)a < (long)b) ? -1 : 0) : \
20
- (STRING_P(a) && STRING_P(b) && CMP_OPTIMIZABLE(STRING)) ? \
21
- rb_str_cmp(a, b) : \
22
- (RB_FLOAT_TYPE_P(a) && RB_FLOAT_TYPE_P(b) && CMP_OPTIMIZABLE(FLOAT)) ? \
23
- rb_float_cmp(a, b) : \
24
- rb_cmpint(rb_funcallv(a, id_cmp, 1, &b), a, b))
25
-
26
- /* compar.c */
27
- VALUE rb_invcmp(VALUE, VALUE);
28
-
29
- #endif /* INTERNAL_COMPAR_H */
@@ -1,34 +0,0 @@
1
- #ifndef INTERNAL_COMPILE_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_COMPILE_H
3
- /**
4
- * @author Ruby developers <ruby-core@ruby-lang.org>
5
- * @copyright This file is a part of the programming language Ruby.
6
- * Permission is hereby granted, to either redistribute and/or
7
- * modify this file, provided that the conditions mentioned in the
8
- * file COPYING are met. Consult the file for details.
9
- * @brief Internal header for the compiler.
10
- */
11
- #include "ruby/internal/config.h"
12
- #include <stddef.h> /* for size_t */
13
- #include "ruby/ruby.h" /* for rb_event_flag_t */
14
-
15
- struct rb_iseq_struct; /* in vm_core.h */
16
-
17
- /* compile.c */
18
- int rb_dvar_defined(ID, const struct rb_iseq_struct *);
19
- int rb_local_defined(ID, const struct rb_iseq_struct *);
20
- int rb_insn_len(VALUE insn);
21
- const char *rb_insns_name(int i);
22
- VALUE rb_insns_name_array(void);
23
- int rb_iseq_cdhash_cmp(VALUE val, VALUE lit);
24
- st_index_t rb_iseq_cdhash_hash(VALUE a);
25
-
26
- /* iseq.c */
27
- int rb_vm_insn_addr2insn(const void *);
28
- int rb_vm_insn_decode(const VALUE encoded);
29
- extern bool ruby_vm_keep_script_lines;
30
-
31
- /* iseq.c (export) */
32
- rb_event_flag_t rb_iseq_event_flags(const struct rb_iseq_struct *iseq, size_t pos);
33
-
34
- #endif /* INTERNAL_COMPILE_H */
@@ -1,29 +0,0 @@
1
- #ifndef INTERNAL_COMPLEX_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_COMPLEX_H
3
- /**
4
- * @author Ruby developers <ruby-core@ruby-lang.org>
5
- * @copyright This file is a part of the programming language Ruby.
6
- * Permission is hereby granted, to either redistribute and/or
7
- * modify this file, provided that the conditions mentioned in the
8
- * file COPYING are met. Consult the file for details.
9
- * @brief Internal header for Complex.
10
- */
11
- #include "ruby/internal/value.h" /* for struct RBasic */
12
-
13
- struct RComplex {
14
- struct RBasic basic;
15
- VALUE real;
16
- VALUE imag;
17
- };
18
-
19
- #define RCOMPLEX(obj) ((struct RComplex *)(obj))
20
-
21
- /* shortcut macro for internal only */
22
- #define RCOMPLEX_SET_REAL(cmp, r) RB_OBJ_WRITE((cmp), &RCOMPLEX(cmp)->real, (r))
23
- #define RCOMPLEX_SET_IMAG(cmp, i) RB_OBJ_WRITE((cmp), &RCOMPLEX(cmp)->imag, (i))
24
-
25
- /* complex.c */
26
- VALUE rb_dbl_complex_new_polar_pi(double abs, double ang);
27
- st_index_t rb_complex_hash(VALUE comp);
28
-
29
- #endif /* INTERNAL_COMPLEX_H */
@@ -1,35 +0,0 @@
1
- #ifndef INTERNAL_CONT_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_CONT_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 Fiber.
10
- */
11
- #include "ruby/ruby.h" /* for VALUE */
12
- #include "iseq.h"
13
-
14
- struct rb_thread_struct; /* in vm_core.h */
15
- struct rb_fiber_struct; /* in cont.c */
16
- struct rb_execution_context_struct; /* in vm_core.c */
17
-
18
- /* cont.c */
19
- void rb_fiber_reset_root_local_storage(struct rb_thread_struct *);
20
- void ruby_register_rollback_func_for_ensure(VALUE (*ensure_func)(VALUE), VALUE (*rollback_func)(VALUE));
21
- void rb_jit_cont_init(void);
22
- void rb_jit_cont_each_iseq(rb_iseq_callback callback, void *data);
23
- void rb_jit_cont_finish(void);
24
-
25
- /* vm.c */
26
- void rb_free_shared_fiber_pool(void);
27
-
28
- // Copy locals from the current execution to the specified fiber.
29
- VALUE rb_fiber_inherit_storage(struct rb_execution_context_struct *ec, struct rb_fiber_struct *fiber);
30
-
31
- VALUE rb_fiberptr_self(struct rb_fiber_struct *fiber);
32
- unsigned int rb_fiberptr_blocking(struct rb_fiber_struct *fiber);
33
- struct rb_execution_context_struct * rb_fiberptr_get_ec(struct rb_fiber_struct *fiber);
34
-
35
- #endif /* INTERNAL_CONT_H */
@@ -1,16 +0,0 @@
1
- #ifndef INTERNAL_DIR_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_DIR_H
3
- /**
4
- * @author Ruby developers <ruby-core@ruby-lang.org>
5
- * @copyright This file is a part of the programming language Ruby.
6
- * Permission is hereby granted, to either redistribute and/or
7
- * modify this file, provided that the conditions mentioned in the
8
- * file COPYING are met. Consult the file for details.
9
- * @brief Internal header for Dir.
10
- */
11
- #include "ruby/ruby.h" /* for VALUE */
12
-
13
- /* dir.c */
14
- VALUE rb_dir_getwd_ospath(void);
15
-
16
- #endif /* INTERNAL_DIR_H */
@@ -1,19 +0,0 @@
1
- #ifndef INTERNAL_ENC_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_ENC_H
3
- /**
4
- * @author Ruby developers <ruby-core@ruby-lang.org>
5
- * @copyright This file is a part of the programming language Ruby.
6
- * Permission is hereby granted, to either redistribute and/or
7
- * modify this file, provided that the conditions mentioned in the
8
- * file COPYING are met. Consult the file for details.
9
- * @brief Internal header for Encoding.
10
- */
11
- #include "ruby/encoding.h" /* for rb_encoding */
12
-
13
- /* us_ascii.c */
14
- extern rb_encoding OnigEncodingUS_ASCII;
15
-
16
- /* utf_8.c */
17
- extern rb_encoding OnigEncodingUTF_8;
18
-
19
- #endif /* INTERNAL_ENC_H */
@@ -1,38 +0,0 @@
1
- #ifndef INTERNAL_ENCODING_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_ENCODING_H
3
- /**
4
- * @author Ruby developers <ruby-core@ruby-lang.org>
5
- * @copyright This file is a part of the programming language Ruby.
6
- * Permission is hereby granted, to either redistribute and/or
7
- * modify this file, provided that the conditions mentioned in the
8
- * file COPYING are met. Consult the file for details.
9
- * @brief Internal header for Encoding.
10
- */
11
- #include "ruby/ruby.h" /* for ID */
12
- #include "ruby/encoding.h" /* for rb_encoding */
13
-
14
- #define rb_enc_autoload_p(enc) (!rb_enc_mbmaxlen(enc))
15
- #define rb_is_usascii_enc(enc) ((enc) == rb_usascii_encoding())
16
- #define rb_is_ascii8bit_enc(enc) ((enc) == rb_ascii8bit_encoding())
17
- #define rb_is_locale_enc(enc) ((enc) == rb_locale_encoding())
18
-
19
- /* encoding.c */
20
- ID rb_id_encoding(void);
21
- const char * rb_enc_inspect_name(rb_encoding *enc);
22
- rb_encoding *rb_enc_get_from_index(int index);
23
- rb_encoding *rb_enc_check_str(VALUE str1, VALUE str2);
24
- int rb_encdb_replicate(const char *alias, const char *orig);
25
- int rb_encdb_alias(const char *alias, const char *orig);
26
- int rb_enc_autoload(rb_encoding *enc);
27
- int rb_encdb_dummy(const char *name);
28
- void rb_encdb_declare(const char *name);
29
- void rb_enc_set_base(const char *name, const char *orig);
30
- int rb_enc_set_dummy(int index);
31
- void rb_enc_raw_set(VALUE obj, rb_encoding *enc);
32
-
33
- PUREFUNC(int rb_data_is_encoding(VALUE obj));
34
-
35
- /* vm.c */
36
- void rb_free_global_enc_table(void);
37
-
38
- #endif /* INTERNAL_ENCODING_H */
@@ -1,18 +0,0 @@
1
- #ifndef INTERNAL_ENUM_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_ENUM_H
3
- /**
4
- * @author Ruby developers <ruby-core@ruby-lang.org>
5
- * @copyright This file is a part of the programming language Ruby.
6
- * Permission is hereby granted, to either redistribute and/or
7
- * modify this file, provided that the conditions mentioned in the
8
- * file COPYING are met. Consult the file for details.
9
- * @brief Internal header for Enumerable.
10
- */
11
- #include "ruby/ruby.h" /* for VALUE */
12
-
13
- /* enum.c */
14
- extern VALUE rb_cArithSeq;
15
- VALUE rb_f_send(int argc, VALUE *argv, VALUE recv);
16
- VALUE rb_nmin_run(VALUE obj, VALUE num, int by, int rev, int ary);
17
-
18
- #endif /* INTERNAL_ENUM_H */
@@ -1,21 +0,0 @@
1
- #ifndef INTERNAL_ENUMERATOR_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_ENUMERATOR_H
3
- /**
4
- * @author Ruby developers <ruby-core@ruby-lang.org>
5
- * @copyright This file is a part of the programming language Ruby.
6
- * Permission is hereby granted, to either redistribute and/or
7
- * modify this file, provided that the conditions mentioned in the
8
- * file COPYING are met. Consult the file for details.
9
- * @brief Internal header for Enumerator.
10
- */
11
- #include "ruby/ruby.h" /* for VALUE */
12
- #include "ruby/intern.h" /* for rb_enumerator_size_func */
13
-
14
- RUBY_SYMBOL_EXPORT_BEGIN
15
- /* enumerator.c (export) */
16
- VALUE rb_arith_seq_new(VALUE obj, VALUE meth, int argc, VALUE const *argv,
17
- rb_enumerator_size_func *size_fn,
18
- VALUE beg, VALUE end, VALUE step, int excl);
19
- RUBY_SYMBOL_EXPORT_END
20
-
21
- #endif /* INTERNAL_ENUMERATOR_H */
@@ -1,244 +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
- PRINTF_ARGS(void rb_warn_reserved_name(const char *removal, const char *fmt, ...), 2, 3);
76
- #if RUBY_DEBUG
77
- # include "ruby/version.h"
78
- # define RUBY_VERSION_SINCE(major, minor) (RUBY_API_VERSION_CODE >= (major * 10000) + (minor) * 100)
79
- # define RUBY_VERSION_BEFORE(major, minor) (RUBY_API_VERSION_CODE < (major * 10000) + (minor) * 100)
80
- # if defined(RBIMPL_WARNING_PRAGMA0)
81
- # define RBIMPL_TODO0(x) RBIMPL_WARNING_PRAGMA0(message(x))
82
- # elif RBIMPL_COMPILER_SINCE(MSVC, 12, 0, 0)
83
- # define RBIMPL_TODO0(x) __pragma(message(x))
84
- # endif
85
-
86
- # if RBIMPL_HAS_ATTRIBUTE(diagnose_if) || defined(__OPTIMIZE__)
87
-
88
- #define RUBY_VERSION_isdigit(c) ('0'<=(c)&&(c)<='9')
89
- // upto 99
90
- #define RUBY_VERSION__number_len(v, ofs) \
91
- (!RUBY_VERSION_isdigit((v)[ofs]) ? \
92
- 0 : !RUBY_VERSION_isdigit((v)[(ofs) + 1]) ? 1 : 2)
93
- #define RUBY_VERSION__to_number(v, ofs) \
94
- (!RUBY_VERSION_isdigit((v)[ofs]) ? \
95
- 0 : !RUBY_VERSION_isdigit((v)[(ofs) + 1]) ? \
96
- ((v)[ofs]-'0') : \
97
- (((v)[ofs]-'0')*10+(v)[(ofs)+1]-'0'))
98
-
99
- #define RUBY_VERSION_CODE_FROM_MAJOR_MINOR_STRING(v) \
100
- (RUBY_VERSION__to_number(v, 0) * 10000 + \
101
- ((v)[RUBY_VERSION__number_len(v, 0)] == '.' ? \
102
- RUBY_VERSION__to_number(v, RUBY_VERSION__number_len(v, 0)+1) * 100 : 0))
103
- #define RUBY_VERSION_STRING_SINCE(v) (RUBY_API_VERSION_CODE >= RUBY_VERSION_CODE_FROM_MAJOR_MINOR_STRING(v))
104
- #define RUBY_VERSION_STRING_BEFORE(v) (RUBY_API_VERSION_CODE < RUBY_VERSION_CODE_FROM_MAJOR_MINOR_STRING(v))
105
-
106
- # if RBIMPL_HAS_ATTRIBUTE(diagnose_if)
107
- RBIMPL_ATTR_FORCEINLINE()
108
- static void
109
- rb_deprecated_method_to_be_removed(const char *removal)
110
- RBIMPL_ATTR_DIAGNOSE_IF(!RUBY_VERSION_isdigit(removal[0]), "malformed version number", "error")
111
- RBIMPL_ATTR_DIAGNOSE_IF(RUBY_VERSION_STRING_SINCE(removal), "deprecated method to be removed", "error")
112
- {
113
- }
114
-
115
- RBIMPL_ATTR_FORCEINLINE()
116
- static void
117
- rb_diagnose_reserved_name_at(const char *coming)
118
- RBIMPL_ATTR_DIAGNOSE_IF(!RUBY_VERSION_isdigit(coming[0]), "malformed version number", "error")
119
- RBIMPL_ATTR_DIAGNOSE_IF(RUBY_VERSION_STRING_SINCE(coming), "reserved name already in use", "error")
120
- {
121
- }
122
- # else
123
- RBIMPL_ATTR_ERROR(("deprecated"))
124
- void rb_deprecated_method_to_be_removed(const char *);
125
- # define rb_deprecated_method_to_be_removed(removal) \
126
- (sizeof(char[1-2*(!RUBY_VERSION_isdigit(removal[0]) || RUBY_VERSION_STRING_SINCE(removal))])!=1 ? \
127
- rb_deprecated_method_to_be_removed(removal) : \
128
- RBIMPL_ASSERT_NOTHING)
129
-
130
- RBIMPL_ATTR_ERROR(("deprecated"))
131
- void rb_diagnose_reserved_name_at(const char *);
132
- # define rb_diagnose_reserved_name_at(coming) \
133
- (sizeof(char[1-2*(!RUBY_VERSION_isdigit(coming[0]) || RUBY_VERSION_STRING_SINCE(coming))])!=1 ? \
134
- rb_diagnose_reserved_name_at(coming) : \
135
- RBIMPL_ASSERT_NOTHING)
136
-
137
- # endif
138
- # define rb_warn_deprecated_to_remove_at(removal, ...) \
139
- (rb_deprecated_method_to_be_removed(#removal), \
140
- rb_warn_deprecated_to_remove(#removal, __VA_ARGS__))
141
-
142
- # define rb_warn_reserved_name_at(coming, ...) \
143
- (rb_diagnose_reserved_name_at(#coming), \
144
- rb_warn_reserved_name(#coming, __VA_ARGS__))
145
- # endif
146
- #endif
147
- #ifndef rb_warn_deprecated_to_remove_at
148
- # define rb_warn_deprecated_to_remove_at(removal, ...) \
149
- rb_warn_deprecated_to_remove(#removal, __VA_ARGS__)
150
- #endif
151
- #ifndef rb_warn_reserved_name_at
152
- # define rb_warn_reserved_name_at(removal, ...) \
153
- rb_warn_reserved_name(#removal, __VA_ARGS__)
154
- #endif
155
- #ifndef RUBY_VERSION_SINCE
156
- # define RUBY_VERSION_SINCE(major, minor) 0
157
- #endif
158
- #ifndef RUBY_VERSION_BEFORE
159
- # define RUBY_VERSION_BEFORE(major, minor) 0
160
- #endif
161
- #ifndef RBIMPL_TODO0
162
- # define RBIMPL_TODO0(x)
163
- #endif
164
- #define RBIMPL_TODO(message) RBIMPL_TODO0("TODO: " message)
165
- RBIMPL_ATTR_FORMAT(RBIMPL_PRINTF_FORMAT, 6, 0)
166
- VALUE rb_syntax_error_append(VALUE, VALUE, int, int, rb_encoding*, const char*, va_list);
167
- PRINTF_ARGS(void rb_enc_warn(rb_encoding *enc, const char *fmt, ...), 2, 3);
168
- PRINTF_ARGS(void rb_sys_enc_warning(rb_encoding *enc, const char *fmt, ...), 2, 3);
169
- PRINTF_ARGS(void rb_syserr_enc_warning(int err, rb_encoding *enc, const char *fmt, ...), 3, 4);
170
- PRINTF_ARGS(void rb_enc_compile_warning(rb_encoding *enc, const char *file, int line, const char *fmt, ...), 4, 5);
171
- PRINTF_ARGS(void rb_enc_compile_warn(rb_encoding *enc, const char *file, int line, const char *fmt, ...), 4, 5);
172
- rb_warning_category_t rb_warning_category_from_name(VALUE category);
173
- bool rb_warning_category_enabled_p(rb_warning_category_t category);
174
- VALUE rb_name_err_new(VALUE mesg, VALUE recv, VALUE method);
175
- VALUE rb_nomethod_err_new(VALUE mesg, VALUE recv, VALUE method, VALUE args, int priv);
176
- VALUE rb_key_err_new(VALUE mesg, VALUE recv, VALUE name);
177
- PRINTF_ARGS(VALUE rb_warning_string(const char *fmt, ...), 1, 2);
178
- RBIMPL_ATTR_FORMAT(RBIMPL_PRINTF_FORMAT, 2, 0)
179
- NORETURN(void rb_vraise(VALUE, const char *, va_list));
180
- NORETURN(static inline void rb_raise_cstr(VALUE etype, const char *mesg));
181
- NORETURN(static inline void rb_raise_cstr_i(VALUE etype, VALUE mesg));
182
- NORETURN(static inline void rb_name_err_raise_str(VALUE mesg, VALUE recv, VALUE name));
183
- NORETURN(static inline void rb_name_err_raise(const char *mesg, VALUE recv, VALUE name));
184
- NORETURN(static inline void rb_key_err_raise(VALUE mesg, VALUE recv, VALUE name));
185
- static inline void Check_Type(VALUE v, enum ruby_value_type t);
186
- static inline bool rb_typeddata_is_instance_of_inline(VALUE obj, const rb_data_type_t *data_type);
187
- #define rb_typeddata_is_instance_of rb_typeddata_is_instance_of_inline
188
- void rb_bug_without_die(const char *fmt, ...);
189
-
190
- RUBY_SYMBOL_EXPORT_BEGIN
191
- /* error.c (export) */
192
- int rb_bug_reporter_add(void (*func)(FILE *, void *), void *data);
193
- #ifdef RUBY_FUNCTION_NAME_STRING
194
- NORETURN(void rb_sys_fail_path_in(const char *func_name, VALUE path));
195
- NORETURN(void rb_syserr_fail_path_in(const char *func_name, int err, VALUE path));
196
- VALUE rb_syserr_new_path_in(const char *func_name, int n, VALUE path);
197
- #endif
198
- RUBY_SYMBOL_EXPORT_END
199
-
200
- /* vm.c */
201
- void rb_free_warning(void);
202
-
203
- static inline void
204
- rb_raise_cstr_i(VALUE etype, VALUE mesg)
205
- {
206
- VALUE exc = rb_exc_new_str(etype, mesg);
207
- rb_exc_raise(exc);
208
- }
209
-
210
- static inline void
211
- rb_raise_cstr(VALUE etype, const char *mesg)
212
- {
213
- VALUE str = rb_str_new_cstr(mesg);
214
- rb_raise_cstr_i(etype, str);
215
- }
216
-
217
- static inline void
218
- rb_name_err_raise_str(VALUE mesg, VALUE recv, VALUE name)
219
- {
220
- VALUE exc = rb_name_err_new(mesg, recv, name);
221
- rb_exc_raise(exc);
222
- }
223
-
224
- static inline void
225
- rb_name_err_raise(const char *mesg, VALUE recv, VALUE name)
226
- {
227
- VALUE str = rb_fstring_cstr(mesg);
228
- rb_name_err_raise_str(str, recv, name);
229
- }
230
-
231
- static inline void
232
- rb_key_err_raise(VALUE mesg, VALUE recv, VALUE name)
233
- {
234
- VALUE exc = rb_key_err_new(mesg, recv, name);
235
- rb_exc_raise(exc);
236
- }
237
-
238
- static inline bool
239
- rb_typeddata_is_instance_of_inline(VALUE obj, const rb_data_type_t *data_type)
240
- {
241
- return RB_TYPE_P(obj, T_DATA) && RTYPEDDATA_P(obj) && (RTYPEDDATA_TYPE(obj) == data_type);
242
- }
243
-
244
- #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 */