gobject introspection


I have put my prototype for full gobject introspection in cvs now,
module gobject-introspection. 

But the real reason why I'm posting here is to ask how the different
language bindings handle unions (in particular GdkEvent). The
introspection prototype currently doesn't handle unions at all, apart
from the fact that fields are supposed to have struct offset
information, so unions could be modeled by describing the overlapping
fields. CORBA does seem to have a concept of discriminated union,
which would probably cover the GdkEvent case, but trying to describe
arbitrary anonymous unions in the middle of structs sounds like adding 
a lot of complexity. It would be very tempting to just require
accessors to make those kinds of C-specific things bindable.

So, how do language bindings handle GdkEvent currently ?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]