Re: g_try_new and g_try_new0 + error reporting for g_object_set

Stefan Kost said:
> As the mail remained uncommented, it has now been posted under
> 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?

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]