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

Added ffi-buffer scaffolding functions #2039

Merged
merged 1 commit into from
May 6, 2024
Merged

Commits on May 6, 2024

  1. Added ffi-buffer scaffolding functions

    These are alternate versions of the current scaffolding functions that
    use u64 buffers to handle their input/output.
    
    The main use case is the gecko-js bindings used in Firefox.  This allows
    us to replace the generated C++ code with static code, since the
    scaffolding functions now always have the exact same signature.
    
    This commit generates FFI buffer versions for scaffolding functions
    defined for user functions/methods.  It does not generate them for
    functions with known/static signatures like the rust buffer FFI
    functions, or the object clone/delete functions.  If the signature is
    always the same, then there isn't a problem calling the normal
    scaffolding functions.
    bendk committed May 6, 2024
    Configuration menu
    Copy the full SHA
    a4dae7e View commit details
    Browse the repository at this point in the history