[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Proposal: g_set_out_of_mem_handler
- From: Sebastian Wilhelmi <wilhelmi ira uka de>
- To: gtk-devel-list redhat com
- Subject: Re: Proposal: g_set_out_of_mem_handler
- Date: Tue, 07 Dec 1999 17:06:07 +0000
Hi Tim,
> > So:
> > - allow setting a "try again" function with signature identical to
> > malloc/realloc
>
> well, that can be reduced to
>
> typedef gpointer (*GReallocFallback) (gpointer mem,
> gulong n_bytes);
> void g_realloc_set_fallback (GReallocFallback fallback_func);
>
> with mem=NULL for malloc() fallback (and some realloc()s).
As I already pointed out, that can't be done reliably.
Bye,
Sebastian
--
Sebastian Wilhelmi | här ovanför alla molnen
mailto:wilhelmi@ira.uka.de | är himmlen så förunderligt blå
http://goethe.ira.uka.de/~wilhelmi |
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]