[Vala] Generate throws clause in library interface files



Two patches:

The second (and important one) tells valac to generate "throws" 
clauses in library interfaces  where needed.

The first one is an artifact from the development of the second patch:
In spirit of the .NET framework it interoduces ArrayList.add_range for
adding entire collections to a list - it just doesn't make sense to
write that foreach loop over and over. And it introduces an ArrayList
constructor initializing the list from another Iterable - for the very
same reason.

Ciao,
Mathias
-- 
Mathias Hasselmann <mathias hasselmann gmx de>
http://taschenorakel.de/

Attachment: 0001-introduce-new-with-and-add-range.patch
Description: application/mbox

Attachment: 0002-generate-throws-clause-when-needed.patch
Description: application/mbox

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil



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