[Top][All Lists]

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

Re: Dynamic loading progress

From: Philipp Stephani
Subject: Re: Dynamic loading progress
Date: Thu, 19 Nov 2015 23:08:23 +0000

Paul Eggert <address@hidden> schrieb am Do., 19. Nov. 2015 um 23:56 Uhr:
On 11/19/2015 02:45 PM, Philipp Stephani wrote:
> Maybe we should add a variant that behaves like xmalloc but is
> guaranteed to never call longjmp?

What should this new xmalloc variant do when it runs out of memory?
xmalloc never returns NULL, so presumably that should be true for the
variant as well.

Returning NULL is fine. malloc also returns NULL on OOM, and module.c handles that.

> Please don't use module.h; this header file is the only one that is
> intended for module authors to include, so it needs a globally unique
> name which should start with 'emacs'.

Yes, that's already done, it's renamed to emacs-module.h now.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]