Skip to content

Redefine ctypes::void as a zero-variant enum #1674

@brson

Description

@brson

ctypes::void is currently an enum with unexported variants. It would be better to define as enum void { }. Currently the snapshot compiler won't allow it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions