RE: The iterator interface
- From: Philip Van Hoof <spam pvanhoof be>
- To: Dirk-Jan Binnema nokia com
- Cc: tinymail-devel-list gnome org
- Subject: RE: The iterator interface
- Date: Mon, 07 Aug 2006 10:52:13 +0200
On Mon, 2006-08-07 at 11:31 +0300, Dirk-Jan Binnema nokia com wrote:
> Hi Philip,
> ie.
> GObject* tny_iterator_iface_current (const TnyIteratorIface *self,
> gboolean add_ref);
>
> (adding the const as well, for good taste :-).
The const, I'm also not sure about. If you want to use const for own
typedefs, then the Python bindings will need manual adaptations.
Also note that const is meaningless for such pointers. As you can change
the heap reference where they point to anyway (the compiler only guards
the pointer value afaik).
--
Philip Van Hoof, software developer at x-tend
home: me at pvanhoof dot be
gnome: pvanhoof at gnome dot org
work: vanhoof at x-tend dot be
http://www.pvanhoof.be - http://www.x-tend.be
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]