emacs-devel
[Top][All Lists]
Advanced

[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: Sun, 15 Feb 2015 20:00:03 +0200

> 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.



reply via email to

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