Skip to content

Struct definition with the word struct in it generates invalid C# code #173

@mjsabby

Description

@mjsabby
struct a {
	struct a *next;
	struct a *prev;
};

produces

    public unsafe partial struct a
    {
        [NativeTypeName("struct a*")]
        public struct a* next;

        [NativeTypeName("struct a*")]
        public struct a* prev;
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions