I was just going to remove some dummy types from my gtk3 module, simple to remove clutter and save some lines... For example, AccelGroupPrivateObj is an opaque dummy type, field priv1 is not exported, so I thought just to replace it with a plain object, see below. I am surprised by the compiler error message. So what to do? Define one single dummy object type and use that for all the priv filelds?
objectis a nominal type construction, so you need to give it a name. Otherwise it's considered a type-class and thus it's "not concrete". For your purposes just use pointerinstead of ptr object.