Re: Questioning non-NULL boxed types



Owen Taylor <otaylor redhat com> writes:

> One thing that possibly needs to be taken into account here is that libbonobo
> actually does use boxed_init functions for two types:
> 
>                 type = g_boxed_type_register_static ("BonoboCorbaAny", corba_any_init,
>                                                      corba_any_copy, corba_any_free, TRUE);
> 
>                 type = g_boxed_type_register_static ("BonoboCorbaException", corba_exception_init,
>                                                      corba_exception_copy, corba_exception_free, TRUE);

They're mainly there because I assumed that "boxed types must have an init function".

-- 
Martin Baulig
martin gnome org (private)
baulig suse de (work)




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