Need a flag to tell that an object is a pointer type.
Submitted by mar..@..il.com
Link to original bug (#663853)
Description
In cogl-1.0.vapi, you have the class Handle. When using a Cogl.Material in vala, this will cast to a CoglHandle* in the C file. The problem with this is that CoglHandle is typedefed as a gpointer, and we will therefor get a pointer to a pointer, which is wrong. To fix this I have now said cname = "void" instead, but this is a hack, and not something I really want to have. What I would love is a CCode flag like is_pointer_type = true, which would then force valac to generate CoglHandle instead of CoglHandle* in this case.
Even though CoglHandle should be removed entirely in a future Cogl release, I still think it would be a useful feature to have for similar cases.
Version: 0.14.x