data type that preserve order



is there a data type, similar to array, that preserve the order on which elements are inserted?

for example ghashtable and gptrarray doesn't preserve the order, so when they are traversed (for example with a "for" cicle, regarding gptrarray) the order may be not the same when elements are inserted

garray or g[s]list?


thanks in advance


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