All list GList types are likely to change

Hi there,

All current GList types are likely to change to TnyListIface instances.
The implementation itself of those instances will most likely be hidden
for the developer accessing the tinymail infrastructure (he'll use the
TnyListIface and TnyIteratorIface interfaces).

The reason for this is making it more easy to 'generate' language
bindings and passing/using lists in the higher programming language
(like Python and/or C#).

Another reason is that I can make specific implementations that are
'really' read-only in case I 'really' don't want to allow appending or
prepending of extra items outside of the framework implementation.

This will significantly increase the amount of implementation types. It
shouldn't create a lot new public types (API types). All such new types
will be accessible using the TnyListIface and TnyIteratorIface inter-

It would be nice if the language-bindings add customizations that make
the TnyListIface an IEnumerable and the TnyIteratorIface a IEnumerator
in for example .NET, or a Collection and a Iterator in Java. So if
you're interested in building language bindings, try to make sure the
types do this.

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 -

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