[gnet-dev] gnet_sha_get_digest



Hi!

gnet_sha_get_digest returns gchar *, but in documentation you can read
that returned buffer is "callee-owned". what does it mean? do I have to
copy this buffer before I delete SHA? returned gchar * would suggest
that it is a newly malloced buffer, but I had strange problems in my
program until I tried to copy this buffer. maybe this should be declared
to return const gchar * ?

regards.
-- 
Hubert Sokolowski




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