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,185 +0,0 @@
1
- #ifndef INTERNAL_FIXNUM_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_FIXNUM_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 Fixnums.
10
- */
11
- #include "ruby/internal/config.h" /* for HAVE_LONG_LONG */
12
- #include <limits.h> /* for CHAR_BIT */
13
- #include "internal/bits.h" /* for MUL_OVERFLOW_FIXNUM_P */
14
- #include "internal/compilers.h" /* for __has_builtin */
15
- #include "ruby/internal/stdbool.h" /* for bool */
16
- #include "ruby/intern.h" /* for rb_big_mul */
17
- #include "ruby/ruby.h" /* for RB_FIXABLE */
18
-
19
- #if HAVE_LONG_LONG && SIZEOF_LONG * 2 <= SIZEOF_LONG_LONG
20
- # define DLONG LONG_LONG
21
- # define DL2NUM(x) LL2NUM(x)
22
- #elif defined(HAVE_INT128_T) && !(defined(__OpenBSD__) && defined(__mips64__))
23
- # define DLONG int128_t
24
- # define DL2NUM(x) (RB_FIXABLE(x) ? LONG2FIX(x) : rb_int128t2big(x))
25
- VALUE rb_int128t2big(int128_t n); /* in bignum.c */
26
- #endif
27
-
28
- static inline long rb_overflowed_fix_to_int(long x);
29
- static inline VALUE rb_fix_plus_fix(VALUE x, VALUE y);
30
- static inline VALUE rb_fix_minus_fix(VALUE x, VALUE y);
31
- static inline VALUE rb_fix_mul_fix(VALUE x, VALUE y);
32
- static inline void rb_fix_divmod_fix(VALUE x, VALUE y, VALUE *divp, VALUE *modp);
33
- static inline VALUE rb_fix_div_fix(VALUE x, VALUE y);
34
- static inline VALUE rb_fix_mod_fix(VALUE x, VALUE y);
35
- static inline bool FIXNUM_POSITIVE_P(VALUE num);
36
- static inline bool FIXNUM_NEGATIVE_P(VALUE num);
37
- static inline bool FIXNUM_ZERO_P(VALUE num);
38
-
39
- static inline long
40
- rb_overflowed_fix_to_int(long x)
41
- {
42
- return (long)((unsigned long)(x >> 1) ^ (1LU << (SIZEOF_LONG * CHAR_BIT - 1)));
43
- }
44
-
45
- static inline VALUE
46
- rb_fix_plus_fix(VALUE x, VALUE y)
47
- {
48
- #if !__has_builtin(__builtin_add_overflow)
49
- long lz = FIX2LONG(x) + FIX2LONG(y);
50
- return LONG2NUM(lz);
51
- #else
52
- long lz;
53
- /* NOTE
54
- * (1) `LONG2FIX(FIX2LONG(x)+FIX2LONG(y))`
55
- + = `((lx*2+1)/2 + (ly*2+1)/2)*2+1`
56
- + = `lx*2 + ly*2 + 1`
57
- + = `(lx*2+1) + (ly*2+1) - 1`
58
- + = `x + y - 1`
59
- * (2) Fixnum's LSB is always 1.
60
- * It means you can always run `x - 1` without overflow.
61
- * (3) Of course `z = x + (y-1)` may overflow.
62
- * At that time true value is
63
- * * positive: 0b0 1xxx...1, and z = 0b1xxx...1
64
- * * negative: 0b1 0xxx...1, and z = 0b0xxx...1
65
- * To convert this true value to long,
66
- * (a) Use arithmetic shift
67
- * * positive: 0b11xxx...
68
- * * negative: 0b00xxx...
69
- * (b) invert MSB
70
- * * positive: 0b01xxx...
71
- * * negative: 0b10xxx...
72
- */
73
- if (__builtin_add_overflow((long)x, (long)y-1, &lz)) {
74
- return rb_int2big(rb_overflowed_fix_to_int(lz));
75
- }
76
- else {
77
- return (VALUE)lz;
78
- }
79
- #endif
80
- }
81
-
82
- static inline VALUE
83
- rb_fix_minus_fix(VALUE x, VALUE y)
84
- {
85
- #if !__has_builtin(__builtin_sub_overflow)
86
- long lz = FIX2LONG(x) - FIX2LONG(y);
87
- return LONG2NUM(lz);
88
- #else
89
- long lz;
90
- if (__builtin_sub_overflow((long)x, (long)y-1, &lz)) {
91
- return rb_int2big(rb_overflowed_fix_to_int(lz));
92
- }
93
- else {
94
- return (VALUE)lz;
95
- }
96
- #endif
97
- }
98
-
99
- /* arguments must be Fixnum */
100
- static inline VALUE
101
- rb_fix_mul_fix(VALUE x, VALUE y)
102
- {
103
- long lx = FIX2LONG(x);
104
- long ly = FIX2LONG(y);
105
- #ifdef DLONG
106
- return DL2NUM((DLONG)lx * (DLONG)ly);
107
- #else
108
- if (MUL_OVERFLOW_FIXNUM_P(lx, ly)) {
109
- return rb_big_mul(rb_int2big(lx), rb_int2big(ly));
110
- }
111
- else {
112
- return LONG2FIX(lx * ly);
113
- }
114
- #endif
115
- }
116
-
117
- /*
118
- * This behaves different from C99 for negative arguments.
119
- * Note that div may overflow fixnum.
120
- */
121
- static inline void
122
- rb_fix_divmod_fix(VALUE a, VALUE b, VALUE *divp, VALUE *modp)
123
- {
124
- /* assume / and % comply C99.
125
- * ldiv(3) won't be inlined by GCC and clang.
126
- * I expect / and % are compiled as single idiv.
127
- */
128
- long x = FIX2LONG(a);
129
- long y = FIX2LONG(b);
130
- long div, mod;
131
- if (x == FIXNUM_MIN && y == -1) {
132
- if (divp) *divp = LONG2NUM(-FIXNUM_MIN);
133
- if (modp) *modp = LONG2FIX(0);
134
- return;
135
- }
136
- div = x / y;
137
- mod = x % y;
138
- if (y > 0 ? mod < 0 : mod > 0) {
139
- mod += y;
140
- div -= 1;
141
- }
142
- if (divp) *divp = LONG2FIX(div);
143
- if (modp) *modp = LONG2FIX(mod);
144
- }
145
-
146
- /* div() for Ruby
147
- * This behaves different from C99 for negative arguments.
148
- */
149
- static inline VALUE
150
- rb_fix_div_fix(VALUE x, VALUE y)
151
- {
152
- VALUE div;
153
- rb_fix_divmod_fix(x, y, &div, NULL);
154
- return div;
155
- }
156
-
157
- /* mod() for Ruby
158
- * This behaves different from C99 for negative arguments.
159
- */
160
- static inline VALUE
161
- rb_fix_mod_fix(VALUE x, VALUE y)
162
- {
163
- VALUE mod;
164
- rb_fix_divmod_fix(x, y, NULL, &mod);
165
- return mod;
166
- }
167
-
168
- static inline bool
169
- FIXNUM_POSITIVE_P(VALUE num)
170
- {
171
- return (SIGNED_VALUE)num > (SIGNED_VALUE)INT2FIX(0);
172
- }
173
-
174
- static inline bool
175
- FIXNUM_NEGATIVE_P(VALUE num)
176
- {
177
- return (SIGNED_VALUE)num < 0;
178
- }
179
-
180
- static inline bool
181
- FIXNUM_ZERO_P(VALUE num)
182
- {
183
- return num == INT2FIX(0);
184
- }
185
- #endif /* INTERNAL_FIXNUM_H */
@@ -1,194 +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(VALUE hash, VALUE ifnone);
76
- VALUE rb_hash_set_default_proc(VALUE hash, VALUE proc);
77
- long rb_dbl_long_hash(double d);
78
- st_table *rb_init_identtable(void);
79
- st_index_t rb_any_hash(VALUE a);
80
- int rb_any_cmp(VALUE a, VALUE b);
81
- VALUE rb_to_hash_type(VALUE obj);
82
- VALUE rb_hash_key_str(VALUE);
83
- VALUE rb_hash_values(VALUE hash);
84
- VALUE rb_hash_rehash(VALUE hash);
85
- int rb_hash_add_new_element(VALUE hash, VALUE key, VALUE val);
86
- VALUE rb_hash_set_pair(VALUE hash, VALUE pair);
87
- int rb_hash_stlike_delete(VALUE hash, st_data_t *pkey, st_data_t *pval);
88
- int rb_hash_stlike_foreach_with_replace(VALUE hash, st_foreach_check_callback_func *func, st_update_callback_func *replace, st_data_t arg);
89
- int rb_hash_stlike_update(VALUE hash, st_data_t key, st_update_callback_func *func, st_data_t arg);
90
- bool rb_hash_default_unredefined(VALUE hash);
91
- VALUE rb_ident_hash_new_with_size(st_index_t size);
92
- void rb_hash_free(VALUE hash);
93
- RUBY_EXTERN VALUE rb_cHash_empty_frozen;
94
-
95
- static inline unsigned RHASH_AR_TABLE_SIZE_RAW(VALUE h);
96
- static inline VALUE RHASH_IFNONE(VALUE h);
97
- static inline size_t RHASH_SIZE(VALUE h);
98
- static inline bool RHASH_EMPTY_P(VALUE h);
99
- static inline bool RHASH_AR_TABLE_P(VALUE h);
100
- static inline bool RHASH_ST_TABLE_P(VALUE h);
101
- static inline struct ar_table_struct *RHASH_AR_TABLE(VALUE h);
102
- static inline st_table *RHASH_ST_TABLE(VALUE h);
103
- static inline size_t RHASH_ST_SIZE(VALUE h);
104
- static inline void RHASH_ST_CLEAR(VALUE h);
105
-
106
- RUBY_SYMBOL_EXPORT_BEGIN
107
- /* hash.c (export) */
108
- VALUE rb_hash_delete_entry(VALUE hash, VALUE key);
109
- VALUE rb_ident_hash_new(void);
110
- int rb_hash_stlike_foreach(VALUE hash, st_foreach_callback_func *func, st_data_t arg);
111
- RUBY_SYMBOL_EXPORT_END
112
-
113
- VALUE rb_hash_new_with_size(st_index_t size);
114
- VALUE rb_hash_resurrect(VALUE hash);
115
- int rb_hash_stlike_lookup(VALUE hash, st_data_t key, st_data_t *pval);
116
- VALUE rb_hash_keys(VALUE hash);
117
- VALUE rb_hash_has_key(VALUE hash, VALUE key);
118
- VALUE rb_hash_compare_by_id_p(VALUE hash);
119
-
120
- st_table *rb_hash_tbl_raw(VALUE hash, const char *file, int line);
121
- #define RHASH_TBL_RAW(h) rb_hash_tbl_raw(h, __FILE__, __LINE__)
122
-
123
- VALUE rb_hash_compare_by_id(VALUE hash);
124
-
125
- static inline bool
126
- RHASH_AR_TABLE_P(VALUE h)
127
- {
128
- return ! FL_TEST_RAW(h, RHASH_ST_TABLE_FLAG);
129
- }
130
-
131
- RBIMPL_ATTR_RETURNS_NONNULL()
132
- static inline struct ar_table_struct *
133
- RHASH_AR_TABLE(VALUE h)
134
- {
135
- return (struct ar_table_struct *)((uintptr_t)h + sizeof(struct RHash));
136
- }
137
-
138
- RBIMPL_ATTR_RETURNS_NONNULL()
139
- static inline st_table *
140
- RHASH_ST_TABLE(VALUE h)
141
- {
142
- return (st_table *)((uintptr_t)h + sizeof(struct RHash));
143
- }
144
-
145
- static inline VALUE
146
- RHASH_IFNONE(VALUE h)
147
- {
148
- return RHASH(h)->ifnone;
149
- }
150
-
151
- static inline size_t
152
- RHASH_SIZE(VALUE h)
153
- {
154
- if (RHASH_AR_TABLE_P(h)) {
155
- return RHASH_AR_TABLE_SIZE_RAW(h);
156
- }
157
- else {
158
- return RHASH_ST_SIZE(h);
159
- }
160
- }
161
-
162
- static inline bool
163
- RHASH_EMPTY_P(VALUE h)
164
- {
165
- return RHASH_SIZE(h) == 0;
166
- }
167
-
168
- static inline bool
169
- RHASH_ST_TABLE_P(VALUE h)
170
- {
171
- return ! RHASH_AR_TABLE_P(h);
172
- }
173
-
174
- static inline size_t
175
- RHASH_ST_SIZE(VALUE h)
176
- {
177
- return RHASH_ST_TABLE(h)->num_entries;
178
- }
179
-
180
- static inline void
181
- RHASH_ST_CLEAR(VALUE h)
182
- {
183
- memset(RHASH_ST_TABLE(h), 0, sizeof(st_table));
184
- }
185
-
186
- static inline unsigned
187
- RHASH_AR_TABLE_SIZE_RAW(VALUE h)
188
- {
189
- VALUE ret = FL_TEST_RAW(h, RHASH_AR_TABLE_SIZE_MASK);
190
- ret >>= RHASH_AR_TABLE_SIZE_SHIFT;
191
- return (unsigned)ret;
192
- }
193
-
194
- #endif /* INTERNAL_HASH_H */
@@ -1,51 +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
- /* box.c */
13
- void Init_enable_box(void);
14
- void Init_root_box(void);
15
-
16
- /* class.c */
17
- void Init_class_hierarchy(void);
18
-
19
- /* dmyext.c */
20
- void Init_enc(void);
21
- void Init_ext(void);
22
-
23
- /* file.c */
24
- void Init_File(void);
25
-
26
- /* localeinit.c */
27
- int Init_enc_set_filesystem_encoding(void);
28
-
29
- /* newline.c */
30
- void Init_newline(void);
31
-
32
- /* vm.c */
33
- void Init_BareVM(void);
34
- void Init_vm_objects(void);
35
-
36
- /* vm_backtrace.c */
37
- void Init_vm_backtrace(void);
38
-
39
- /* vm_eval.c */
40
- void Init_vm_eval(void);
41
-
42
- /* vm_insnhelper.c */
43
- void Init_vm_stack_canary(void);
44
-
45
- /* vm_method.c */
46
- void Init_eval_method(void);
47
-
48
- /* inits.c */
49
- void rb_call_inits(void);
50
-
51
- #endif /* INTERNAL_INITS_H */
@@ -1,163 +0,0 @@
1
- #ifndef INTERNAL_IO_H /*-*-C-*-vi:se ft=c:*/
2
- #define INTERNAL_IO_H
3
- /**
4
- * @author Ruby developers <ruby-core@ruby-lang.org>
5
- * @copyright This file is a part of the programming language Ruby.
6
- * Permission is hereby granted, to either redistribute and/or
7
- * modify this file, provided that the conditions mentioned in the
8
- * file COPYING are met. Consult the file for details.
9
- * @brief Internal header for IO.
10
- */
11
- #include "ruby/ruby.h" /* for VALUE */
12
-
13
- #define HAVE_RB_IO_T
14
- struct rb_io;
15
-
16
- #include "ruby/io.h" /* for rb_io_t */
17
- #include "ccan/list/list.h"
18
- #include "serial.h"
19
-
20
- #define IO_WITHOUT_GVL(func, arg) rb_nogvl(func, arg, RUBY_UBF_IO, 0, RB_NOGVL_OFFLOAD_SAFE)
21
- #define IO_WITHOUT_GVL_INT(func, arg) (int)(VALUE)IO_WITHOUT_GVL(func, arg)
22
-
23
- // Represents an in-flight blocking operation:
24
- struct rb_io_blocking_operation {
25
- // The linked list data structure.
26
- struct ccan_list_node list;
27
-
28
- // The execution context of the blocking operation.
29
- struct rb_execution_context_struct *ec;
30
- };
31
-
32
- /** Ruby's IO, metadata and buffers. */
33
- struct rb_io {
34
-
35
- /** The IO's Ruby level counterpart. */
36
- VALUE self;
37
-
38
- /** stdio ptr for read/write, if available. */
39
- FILE *stdio_file;
40
-
41
- /** file descriptor. */
42
- int fd;
43
-
44
- /** mode flags: FMODE_XXXs */
45
- enum rb_io_mode mode;
46
-
47
- /** child's pid (for pipes) */
48
- rb_pid_t pid;
49
-
50
- /** number of lines read */
51
- int lineno;
52
-
53
- /** pathname for file */
54
- VALUE pathv;
55
-
56
- /** finalize proc */
57
- void (*finalize)(struct rb_io*,int);
58
-
59
- /** Write buffer. */
60
- rb_io_buffer_t wbuf;
61
-
62
- /**
63
- * (Byte) read buffer. Note also that there is a field called
64
- * ::rb_io_t::cbuf, which also concerns read IO.
65
- */
66
- rb_io_buffer_t rbuf;
67
-
68
- /**
69
- * Duplex IO object, if set.
70
- *
71
- * @see rb_io_set_write_io()
72
- */
73
- VALUE tied_io_for_writing;
74
-
75
- struct rb_io_encoding encs; /**< Decomposed encoding flags. */
76
-
77
- /** Encoding converter used when reading from this IO. */
78
- rb_econv_t *readconv;
79
-
80
- /**
81
- * rb_io_ungetc() destination. This buffer is read before checking
82
- * ::rb_io_t::rbuf
83
- */
84
- rb_io_buffer_t cbuf;
85
-
86
- /** Encoding converter used when writing to this IO. */
87
- rb_econv_t *writeconv;
88
-
89
- /**
90
- * This is, when set, an instance of ::rb_cString which holds the "common"
91
- * encoding. Write conversion can convert strings twice... In case
92
- * conversion from encoding X to encoding Y does not exist, Ruby finds an
93
- * encoding Z that bridges the two, so that X to Z to Y conversion happens.
94
- */
95
- VALUE writeconv_asciicompat;
96
-
97
- /** Whether ::rb_io_t::writeconv is already set up. */
98
- int writeconv_initialized;
99
-
100
- /**
101
- * Value of ::rb_io_t::rb_io_enc_t::ecflags stored right before
102
- * initialising ::rb_io_t::writeconv.
103
- */
104
- int writeconv_pre_ecflags;
105
-
106
- /**
107
- * Value of ::rb_io_t::rb_io_enc_t::ecopts stored right before initialising
108
- * ::rb_io_t::writeconv.
109
- */
110
- VALUE writeconv_pre_ecopts;
111
-
112
- /**
113
- * This is a Ruby level mutex. It avoids multiple threads to write to an
114
- * IO at once; helps for instance rb_io_puts() to ensure newlines right
115
- * next to its arguments.
116
- *
117
- * This of course doesn't help inter-process IO interleaves, though.
118
- */
119
- VALUE write_lock;
120
-
121
- /**
122
- * The timeout associated with this IO when performing blocking operations.
123
- */
124
- VALUE timeout;
125
-
126
- /**
127
- * Threads that are performing a blocking operation without the GVL using
128
- * this IO. On calling IO#close, these threads will be interrupted so that
129
- * the operation can be cancelled.
130
- */
131
- struct ccan_list_head blocking_operations;
132
- struct rb_execution_context_struct *closing_ec;
133
- VALUE wakeup_mutex;
134
-
135
- // The fork generation of the blocking operations list.
136
- rb_serial_t fork_generation;
137
- };
138
-
139
- /* io.c */
140
- void ruby_set_inplace_mode(const char *);
141
- void rb_stdio_set_default_encoding(void);
142
- VALUE rb_io_flush_raw(VALUE, int);
143
- size_t rb_io_memsize(const rb_io_t *);
144
- int rb_stderr_tty_p(void);
145
- VALUE rb_io_popen(VALUE pname, VALUE pmode, VALUE env, VALUE opt);
146
-
147
- VALUE rb_io_prep_stdin(void);
148
- VALUE rb_io_prep_stdout(void);
149
- VALUE rb_io_prep_stderr(void);
150
-
151
- int rb_io_notify_close(struct rb_io *fptr);
152
-
153
- RUBY_SYMBOL_EXPORT_BEGIN
154
- /* io.c (export) */
155
- void rb_maygvl_fd_fix_cloexec(int fd);
156
- int rb_gc_for_fd(int err);
157
- void rb_write_error_str(VALUE mesg);
158
-
159
- VALUE rb_io_blocking_region_wait(struct rb_io *io, rb_blocking_function_t *function, void *argument, enum rb_io_event events);
160
- VALUE rb_io_blocking_region(struct rb_io *io, rb_blocking_function_t *function, void *argument);
161
- RUBY_SYMBOL_EXPORT_END
162
-
163
- #endif /* INTERNAL_IO_H */
@@ -1,20 +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
- VALUE rb_load_entrypoint(VALUE args);
16
- VALUE rb_require_relative_entrypoint(VALUE fname);
17
- int rb_require_internal(VALUE fname);
18
- NORETURN(void rb_load_fail(VALUE, const char*));
19
-
20
- #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 */