From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Philipp Stephani
> From: Philipp Stephani <p.stephani2@gmail.com>
> Date: Thu, 19 Nov 2015 23:55:57 +0000
> Cc: emacs-dev= el@gnu.org
>
> Modules cannot (legally) call xmalloc. They need to obtain memory usin= g malloc
> or any other standard function.
How is calling malloc different from calling xmalloc?=C2=A0 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?=C2=A0 (I thought allowing<= br> that was one of the main design goals.)=C2=A0 If so, what's the differe= nce?