gobject api help
- From: "D Bera" <dbera web gmail com>
- To: dashboard-hackers <dashboard-hackers gnome org>
- Subject: gobject api help
- Date: Thu, 3 Apr 2008 13:34:53 -0400
For those who deal with gobject API, when you pass a string (char* or
const char*) to an API function, whose responsibility is it to free
the string ? What is the usual practice ? Is there any way to
distinguish methods that take a string and "own" it and methods that
make a copy of the string so the caller can safely free it or reassign
it to something else ?
I noticed some anamoly in libbeagle methods, so please help me if you can.
Thanks,
- dBera
--
-----------------------------------------------------
Debajyoti Bera @ http://dtecht.blogspot.com
beagle / KDE fan
Mandriva / Inspiron-1100 user
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]