Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature #20005] Add C API to resolve symbols from other extensions #8991

Merged
merged 2 commits into from Dec 14, 2023

Commits on Dec 8, 2023

  1. dln_symbol: make dln_sym accessible Ruby internally

    The symbol resolved by dln_symbol will eventually be passed to
    extensions. The error handling of dln_sym is also separated into
    dln_sym_func because the new call resolving symbols will not raise
    LoadError.
    tagomoris committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    5697b57 View commit details
    Browse the repository at this point in the history
  2. rb_ext_resolve_symbol: C API to resolve and return externed symbols […

    …Feature #20005]
    
    This is a C API for extensions to resolve and get function symbols of other extensions.
    Extensions can check the expected symbol is correctly loaded and accessible, and
    use it if it is available.
    Otherwise, extensions can raise their own error to guide users to setup their
    environments correctly and what's missing.
    tagomoris committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    17faaad View commit details
    Browse the repository at this point in the history