[Vala] [GTK][Bindings] SelectionData questions



Hi all,

I have some doubts using a normal uchar array to set and  store the data in SelectionData instead of just the classical uchar* + length.
It is quite cumbersome and limiting to always pack the data in a uchar[] instead of just casting it and setting the format and the  length (if the data is simple like a pointer or an int...even a string is cumbersome to pass as array of uchars).

Also when always using uchar[] and length is always the length of the array, does it means the format param is constant/unnecessary, being always 8?

10x
MihailNaydenov

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

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