Closed
Description
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