Skip to content

feature:support flexible array member #503

@luoliwoshang

Description

@luoliwoshang
struct string_descriptor_zero {
    uint8_t bLength;
    uint8_t bDescriptorType;
    uint16_t wBcdLang[];
} __packed;

https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions