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

ffi: Expose CiphertextMessageType constants #17

Merged
merged 2 commits into from
Oct 23, 2020

Commits on Oct 22, 2020

  1. ffi: Expose named constants for CiphertextMessageType

    Also:
    - Expose them to Swift as well in a type-safe way
    - Verify that each constant matches the encoding used in rust/protocol/
    jrose-signal committed Oct 22, 2020
    Configuration menu
    Copy the full SHA
    c1ffb1b View commit details
    Browse the repository at this point in the history
  2. ffi: Drop dependency on num_traits::ToPrimitive

    We were only using it on enums, and unconditionally at that, so Rust's
    built-in numeric casts will have the same effect.
    jrose-signal committed Oct 22, 2020
    Configuration menu
    Copy the full SHA
    3425025 View commit details
    Browse the repository at this point in the history