Skip to content

Allow referring to 'struct foo' identifiers from {#sizeof} {#get} and friends #54

Closed
@ian-ross

Description

@ian-ross

Bug imported from C2HS Trac

Trac ticket created: 2012-10-17T15:59:46-0700


C maintains separate namespaces for 'struct foo' and 'typedef ... foo', and at present c2hs only references the latter namespace. This is annoying if a library author didn't add typedefs to allow eliding the 'struct' keyword from type definitions; we have to re-typedef everything we want to use from c2hs. It would be convenient if we could write {#get struct foo->bar #} or similar. Note that pointer appears to look in both namespaces, so I don't know what's going on there. -- ezyang

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