From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: Dynamic loading progress Date: Sun, 15 Feb 2015 10:01:28 -0800 Message-ID: <54E0DEF8.7020901@dancol.org> References: <83y4oiiw81.fsf@gnu.org> <838ugdf251.fsf@gnu.org> <87bnl1vmqf.fsf@lifelogs.com> <87vbj8tow4.fsf@lifelogs.com> <87r3twtagf.fsf@lifelogs.com> <85siebl7ws.fsf@stephe-leake.org> <85a90ilwmm.fsf@stephe-leake.org> <83386a6f7z.fsf@gnu.org> <85h9upjz7v.fsf@stephe-leake.org> <83wq3k3kl4.fsf@gnu.org> <85bnkwil1c.fsf@stephe-leake.org> <83pp9cwky8.fsf@gnu.org> <85a90ggf2d.fsf@stephe-leake.org> <54E0A40F.5080603@dancol.org> <83sie7un20.fsf@gnu.org> <54E0D181.2080802@dancol.org> <83r3trulse.fsf@gnu.org> <54E0D7E0.305@[87.69.4.28]> <83h9unukbg.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="0o8u4aE1h8AQpEOTgeoQXhbullac1tXRb" X-Trace: ger.gmane.org 1424023311 9992 80.91.229.3 (15 Feb 2015 18:01:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Feb 2015 18:01:51 +0000 (UTC) Cc: stephen_leake@stephe-leake.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 15 19:01:50 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 1YN3Vr-0007Xa-J6 for ged-emacs-devel@m.gmane.org; Sun, 15 Feb 2015 19:01:47 +0100 Original-Received: from localhost ([::1]:36154 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YN3Vq-0000dg-TB for ged-emacs-devel@m.gmane.org; Sun, 15 Feb 2015 13:01:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YN3Vj-0000dP-Dj for emacs-devel@gnu.org; Sun, 15 Feb 2015 13:01:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YN3Vd-0000qi-Qs for emacs-devel@gnu.org; Sun, 15 Feb 2015 13:01:39 -0500 Original-Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:36269) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YN3Vd-0000qb-7G; Sun, 15 Feb 2015 13:01:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=kETOwmhJZVpDzrhVQjxWczefwT+ZDKY/o2ucDiQs6Lo=; b=pdykNsWlJXFxWvkXxbV7WNjE7hMPzLFNYgRp0sSnVgSxkM5N6c2fBrllGdnoXJ278pDbwHWL3RDajnpd43769RCpIn4x1OImw1TzGHkGb4NRSZ+xN+FhBWKKxbF4q2PTOkTOe/s5WuaTq2Gez7EfXeu4ViDjLmafOCxdmARs0i/oOa0o9THg2qbk6MoYTvuMuvLZmSKbO9lU6qSKwFZS+NNDe6ZsLkXYX8KG1smsAyMk32MbZU6OzcZPKvjPBi25IAip9PyseKlqKzHK+KjvcqsG+w9lK7cwGWGBGt0rnaE9lVmukdq9ndln4Z9HoT67Dj0JZjnBeQOcYNj7Gdd0YA==; Original-Received: from c-73-221-38-18.hsd1.wa.comcast.net ([73.221.38.18] helo=[192.168.1.210]) by dancol.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1YN3Vc-0001b5-DI; Sun, 15 Feb 2015 10:01:32 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 In-Reply-To: <83h9unukbg.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2600:3c01::f03c:91ff:fedf:adf3 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:183099 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --0o8u4aE1h8AQpEOTgeoQXhbullac1tXRb Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 02/15/2015 10:00 AM, Eli Zaretskii wrote: >> Date: Sun, 15 Feb 2015 09:31:12 -0800 >> From: Daniel Colascione >> CC: stephen_leake@stephe-leake.org, emacs-devel@gnu.org >> >> On 02/15/2015 09:28 AM, Eli Zaretskii wrote: >>>> Date: Sun, 15 Feb 2015 09:04:01 -0800 >>>> From: Daniel Colascione >>>> CC: stephen_leake@stephe-leake.org, emacs-devel@gnu.org >>>> >>>> Modules provide an initialization function to Emacs: Emacs then >>>> calls this initialization function with a pointer to a C structure >>>> containing a table of function pointers. Modules call these function= >>>> pointers to do their work. >>> >>> How will modules know which function in the table does what job? >> >> Positionally, as fixed in the structure that defines the table. >> >> struct { >> void (*func1)(int); >> void (*func2)(double); >> /* etc. */ >> } >> >> This way, the ABI Emacs exports is explicit, and breaking it is unlike= ly >> to happen accidentally. >=20 > I see. >=20 > Would you like to propose a list of functions that should be in that > table? I don't mean function names, I mean a short description of > each one of them. That depends on the supported module use cases, which are being discussed on other branches of the thread. Keep in mind that my first preference is still to do everything with CFFI and not export any Emacs-specific facilities at all. --0o8u4aE1h8AQpEOTgeoQXhbullac1tXRb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJU4N74AAoJEN4WImmbpWBl71gQAJUEnnlgOEijBOLGC0TZqkQG vuA/PikqyiNyC22hFr0xYfkuIHeuH9y3Wn6c1yRkwY/aDCE6LsIHaDE0o4zTQ8Cf 85mwxSsLztx98STvEyt7hcxG+3YcLeg2r684gpZXvWI8j+00yHCSk/DqjUEyMF6L VaTYviIX2xxSqVDdd5xvY3cETg4JwAgn5sxOCPYOdUso/XgqMLDOVxPl7iCL2WPF BOHrJdXLqJcq4CtRxht6b5OolILH4K08ggK4cW3jjM3hXNT/0pB6kjOQqorHeb6K UXYxWTb5TWyR2gwJmSuBE3tqnjgfJ0jaxejLGJZ+ncwntTLNfMKBIszdLkmQx/cw c4SfztSEBfhgqpQcy8zZS96p1dyA/RJ2c5/kzPeON4Hxkjq1MelVJQjOXyVgIplL xjQmCnEavVAGCEhdqF7lmJZLD379GrMFwBGMtbsRKww9HpM8P/nBQme6B+cyk0cq rN42mXf7yq0c+OYDqjbtuj9dPddlIowD1yFx7r3QGWekcpySl9Fcf7PLTQieRXVi DgTK/HuJ5vlXGwTvx4BldQbSJGn2b78irsfoH81Ja2t1fgyQTI29riGmWWqt28XR UmYUD2zlZ0fN/ulzp52Il/m4uOsVY1QFZGLQWUs7WqpW5Y5COrw8uPH5XMdy0L1g erJnKepqyxrB/X7amIZT =mwdK -----END PGP SIGNATURE----- --0o8u4aE1h8AQpEOTgeoQXhbullac1tXRb--