[gtkada] GObject_Record is not limited ...

Emmanuel Briot briot at adacore.com
Mon Jan 31 09:28:48 CET 2005



ThAnJuZo wrote:
> Is there some situations where doing "A := B;" with GObject_Record 
> derived types could be useful / legal ?


That's a good question. I can't think of anycase where we currently do that in 
GtkAda or GPS, since almost always one uses an access type. You might try to 
just add "limited" to the declaration of the type, and recompile GtkAda and 
testgtk. If it compiled correctly, it is likely that indeed this type could be 
limited.

regards
Emmanuel



More information about the gtkada mailing list