Re: g_try_new and g_try_new0 + error reporting for g_object_set
- From: "muppet" <scott asofyet org>
- To: gtk-devel-list gnome org
- Subject: Re: g_try_new and g_try_new0 + error reporting for g_object_set
- Date: Tue, 8 Mar 2005 11:04:24 -0500 (EST)
Stefan Kost said:
> As the mail remained uncommented, it has now been posted under
> http://bugzilla.gnome.org/show_bug.cgi?id=169611
>
> Stefan Kost wrote:
>> hi hi,
>>
>> is there a reason why we dont have g_try_new and g_try_new0.
why is g_try_malloc() not sufficient?
http://developer.gnome.org/doc/API/2.0/glib/glib-Memory-Allocation.html#g-try-malloc
or simply using malloc() (or calloc()) directly?
--
muppet <scott at asofyet dot org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]