From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Dynamic loading progress Date: Fri, 20 Nov 2015 12:11:19 +0200 Message-ID: <8337w16kvs.fsf@gnu.org> References: <8737wgw7kf.fsf@lifelogs.com> <87io5bv1it.fsf@lifelogs.com> <87egfzuwca.fsf@lifelogs.com> <876118u6f2.fsf@lifelogs.com> <8737w3qero.fsf@lifelogs.com> <831tbn9g9j.fsf@gnu.org> <878u5upw7o.fsf@lifelogs.com> <83ziya8xph.fsf@gnu.org> <83y4du80xo.fsf@gnu.org> <564DF0F6.5060501@cs.ucla.edu> <564E5375.3050006@cs.ucla.edu> <564E6045.6030907@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1448014348 4628 80.91.229.3 (20 Nov 2015 10:12:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Nov 2015 10:12:28 +0000 (UTC) Cc: aurelien.aptel+emacs@gmail.com, tzz@lifelogs.com, eggert@cs.ucla.edu, emacs-devel@gnu.org To: Philipp Stephani Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 20 11:12:19 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zzifa-00073l-RL for ged-emacs-devel@m.gmane.org; Fri, 20 Nov 2015 11:11:55 +0100 Original-Received: from localhost ([::1]:46357 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zzifa-0007dZ-A1 for ged-emacs-devel@m.gmane.org; Fri, 20 Nov 2015 05:11:54 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzifM-0007dT-5e for emacs-devel@gnu.org; Fri, 20 Nov 2015 05:11:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZzifI-0006Ip-VS for emacs-devel@gnu.org; Fri, 20 Nov 2015 05:11:40 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:38597) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzifI-0006IE-NC for emacs-devel@gnu.org; Fri, 20 Nov 2015 05:11:36 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NY300H00YV4RQ00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Fri, 20 Nov 2015 12:11:32 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NY300HIAYZ8KP50@a-mtaout20.012.net.il>; Fri, 20 Nov 2015 12:11:32 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:194863 Archived-At: > From: Philipp Stephani > Date: Thu, 19 Nov 2015 23:55:57 +0000 > Cc: emacs-devel@gnu.org > > 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?