Skip to content

about zero length array #418

@lianyuzhe

Description

@lianyuzhe

第二章,类型转换关于零长数组的,源代码贴图,零长数组在struct的最后一个,存在这样的问题
When a C struct ends with a zero-sized field, but the struct itself is not zero-sized, Go code can no longer refer to the zero-sized field. Any such references will have to be rewritten.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions