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

Make generated ffi portable, add 32bit support #13

Merged
merged 1 commit into from
Jul 18, 2024

Commits on Jul 15, 2024

  1. Add 32bit support, make generated dart portable

    This replaces several instance where we were using u64 or i64 as hard-coded
    instances for isize and usize with its dart counterparts of `UintPtr` and `IntPtr``.
    Thus rendering the generated dart file not only platform-compatible with
    the underlying target system, but also allowing us to the same generated
    dart file across any number of platforms. Prior to this for the few cases
    this was using usize-types, the generator would create a platform-specific
    mapping.
    
    As a result, we do now support 32bit targets as well.
    gnunicorn committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    1d8dce6 View commit details
    Browse the repository at this point in the history