Re: Introspection API



On Thu, 2005-02-24 at 15:53 -0500, Colin Walters wrote:
> On Thu, 2005-02-24 at 15:20 -0500, Matthias Clasen wrote:
> >I have written up a draft spec for the format of the binary metadata
> >to back up the repository api which I posted earlier. I hope to have
> >some initial code implementing both of these soon.
> 
>   guint             caller_owns_return_value     : 1;
> 
> Do we also want to have a pointer to a "release function"?  I assume
> with XPCOM since it's C++ they can just use "delete", but we can't do
> that, right?

Good point.

> 
> Also, I think it would be nice if we had a standard way to map from a
> FunctionBlob -> possible GError domains it throws.  Or maybe even a set
> of specific domain/code pairs.  Or should that just be a standard
> annotation or something?

I added GErrorTypeBlob and GErrorDomainBlob to deal with GError **
arguments. Does that have what you need ?

Matthias







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