Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Statically assert that iOS/macOS style property enums are in sync with mbgl::style #6464

Closed

Description

@1ec5

The Qt SDK uses static assertions to ensure that its enums have the right raw value any time a value is added. We should do the same in the iOS/macOS SDK for the runtime styling API’s enums. In practice, these assertions can’t catch the case where someone runs make style-code but not make style-code-darwin after adding a new value, but the assertions would fail the next time someone does that.

/cc @frederoni

Activity

  1. added
    iOS
    macOS
    on Sep 26, 2016
  2. added
    archived
    on Nov 18, 2018
  3. stale commented on Nov 20, 2018

    @stale

    This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    archivediOSmacOSruntime styling

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions