g_array_get_range



Hello.

I am curious.
Why there isnt any easy:

"g_array_get_range" to make a new array with duplicated or non
duplicated values.

also some functions like "join", another like "delete_range" but
deleting everything else except the range, and some other commonly
used functions for arrays or lists in interpretted languages.

Or maybe i am just using the incorrect type of data.
I am using this object to store some samples of a digital signal, and
to study it i need to extract some periods of it in new GArrays.


Also i am surprise that glib doesnt have a round robin array object,
it is very usefull to automatically restrict the ammount of data
stored in an array.

Cheers.
Diego


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