[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dynamic loading progress
From: |
Daniel Colascione |
Subject: |
Re: Dynamic loading progress |
Date: |
Sun, 15 Feb 2015 10:01:28 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
On 02/15/2015 10:00 AM, Eli Zaretskii wrote:
>> Date: Sun, 15 Feb 2015 09:31:12 -0800
>> From: Daniel Colascione <address@hidden>
>> CC: address@hidden, address@hidden
>>
>> On 02/15/2015 09:28 AM, Eli Zaretskii wrote:
>>>> Date: Sun, 15 Feb 2015 09:04:01 -0800
>>>> From: Daniel Colascione <address@hidden>
>>>> CC: address@hidden, address@hidden
>>>>
>>>> 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 unlikely
>> to happen accidentally.
>
> I see.
>
> 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.
signature.asc
Description: OpenPGP digital signature
- Re: Dynamic loading progress, (continued)
- Re: Dynamic loading progress, Eli Zaretskii, 2015/02/14
- Re: Dynamic loading progress, Stephen Leake, 2015/02/14
- Re: Dynamic loading progress, Eli Zaretskii, 2015/02/14
- Re: Dynamic loading progress, Stephen Leake, 2015/02/14
- Re: Dynamic loading progress, Daniel Colascione, 2015/02/15
- Re: Dynamic loading progress, Eli Zaretskii, 2015/02/15
- Re: Dynamic loading progress, Daniel Colascione, 2015/02/15
- Re: Dynamic loading progress, Eli Zaretskii, 2015/02/15
- Re: Dynamic loading progress, Daniel Colascione, 2015/02/15
- Re: Dynamic loading progress, Eli Zaretskii, 2015/02/15
- Re: Dynamic loading progress,
Daniel Colascione <=
- Re: Dynamic loading progress, Eli Zaretskii, 2015/02/15
- Re: Dynamic loading progress, Daniel Colascione, 2015/02/15
- Re: Dynamic loading progress, Aurélien Aptel, 2015/02/16
- Re: Dynamic loading progress, Eli Zaretskii, 2015/02/16
- Re: Dynamic loading progress, Eli Zaretskii, 2015/02/16
- Re: Dynamic loading progress, Daniel Colascione, 2015/02/16
- Re: Dynamic loading progress, Stefan Monnier, 2015/02/16
- Re: Dynamic loading progress, Eli Zaretskii, 2015/02/16
- Re: Dynamic loading progress, Daniel Colascione, 2015/02/16
- Re: Dynamic loading progress, Eli Zaretskii, 2015/02/17