'ruby C api - calling other "internal" rb_* functions?

I've gone through the Ruby C API docs [https://docs.ruby-lang.org/en/2.7.0/extension_rdoc.html] which seem to completely list all the rb_functions available, but looking at the C source for ruby and some docs for other gems (such as debug_inspector) seem to imply there are other rb_functions available, such as:

https://sonots.github.io/ruby-capi/d8/d73/vm__backtrace_8c.html#aae63ec9012c6dd7e1c6d268689cd0d61

Which lists a number of rb_ functions such as the rb_debug_* functions, but I can't find docs for them. So two questions:

  1. Are these not part of the official ruby C API (and hence are only available to MRI?)
  2. Is there any documentation (apart from "just read the source code")?


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source