[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs-dynamic-module in Emacs Git?

From: Eli Zaretskii
Subject: Re: emacs-dynamic-module in Emacs Git?
Date: Sat, 29 Nov 2014 19:45:04 +0200

> Date: Sat, 29 Nov 2014 19:05:06 +0200
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden
>   . It seems to me that the modules call functions implemented by
>     Emacs, like make_number and Fmember, on the assumption that
>     calling any Emacs function will "just work".  This is false for
>     Windows (the link command that produces the shared object will
>     fail), unless we mark such exportable functions and build an
>     import library that will be passed to the linker when the module's
>     shared object is built.  Likewise with global variables defined by
>     Emacs.

Alternatively, I think libltdl itself supports dynamic linking with
functions in the main module (Emacs itself), but that would require an
explicit lt_dlsym call for every Emacs function a module needs to

In any case, just calling a function is not going to cut it.

reply via email to

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