[Top][All Lists]

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

Re: Dynamic loading progress

From: Eli Zaretskii
Subject: Re: Dynamic loading progress
Date: Fri, 20 Nov 2015 12:11:19 +0200

> From: Philipp Stephani <address@hidden>
> Date: Thu, 19 Nov 2015 23:55:57 +0000
> Cc: address@hidden
> Modules cannot (legally) call xmalloc. They need to obtain memory using malloc
> or any other standard function.

How is calling malloc different from calling xmalloc?  Neither is in
the interface defined in emacs-module.h, right?

> In general, modules cannot call any functions except those declared
> in emacs-module.h.

Can they call functions from external libraries?  (I thought allowing
that was one of the main design goals.)  If so, what's the difference?

reply via email to

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