Re: glib CVS ?



On 24 Nov 2001 17:08:45 +0100
Sven Neumann <sven gimp org> wrote:

> you could plug your own memory allocation routines into the glib memory
> system (it has hooks that allow you to do so without patching). It will
> be non-trivial however to gracefully recover from a failed memory 
> allocation. Glib-2.0 has g_try_malloc() that you can use in your own
> routines wherever it makes sense.

GString should be changed in order to use these
g_try_realloc/g_try_malloc in order to recover from failed memory
allocation, don't you think so ?

-- 
   ~       Speed Metal MUA p4tch3rZ
  'v'
 // \\                  DINH V. Hoà
/(   )\
 ^`~'^ 



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