ubuntu - adding string object to gArray -


I want to add some string object to GRE but when I read the API manual

g_array_new () , It wants the size of the element to be added while creating the array, but

different string objects have different lengths, so how can I cope with this issue?

Regards, iSight

I believe, the size of the element is: pointer for a string.

Comments