Functions for interoperability with rb-sys.
These functions are provided to interface with the lower-level Ruby bindings provided by rb-sys. You may want to use rb-sys when:
- Magnus does not provide access to a Ruby API because the API can not be made safe & ergonomic.
- Magnus exposed the API in a way that does not work for your use case.
- The API just hasn’t been implemented yet.
Even if you are not in a position to contribute code to Magnus, please open an issue outlining your use case and the APIs you need whenever you find yourself reaching for this module.
Functions in this module are considered unstable. While there is no plan to alter or remove them, non-backwards compatible changes in this module will not necessarily be considered as SemVer major changes.
The unsafe functions in this module are capable of producing values that break the saftey guarantees of almost every other function in Magnus. Use them with care.