Re: [Evolution-hackers] ebook api plans for 1.6
- From: Michael Meeks <michael ximian com>
- To: Chris Toshok <toshok ximian com>
- Cc: evolution <evolution-hackers ximian com>
- Subject: Re: [Evolution-hackers] ebook api plans for 1.6
- Date: 09 Jul 2003 14:10:01 +0100
Hi Chris,
On Wed, 2003-07-09 at 03:21, Chris Toshok wrote:
> The test-ebook.c file I've attached gives a small example of using the
> new synchronous api. It iterates over the list of email addresses,
> which are at present just a list of EVCardAttribute's. Is this way of
> doing things satisfactory?
It looks nice to me, I can't help feeling that things like:
gpointer get_foo ();
void set_foo (gpointer);
Might be better done using the GValueArray thing - which for all it's
intrinsic clunkiness might give a better result - perhaps with some
extra boxed types. The contract just seems rather unsafe via a gpointer.
> any thoughts? I'm less concerned about getting this right for
> evolution, since we've already proven we're willing to work with rather
> broken apis :) I'm more concerned with it being useful for others.
Another thought is; that if this API is going to be ABI stable, it's
well worth adding gpointer dummy[4+]; to each publicly exposed interface
- so that virtual methods can be added later.
HTH,
Michael.
--
michael ximian com <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]