[Top][All Lists]

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

Re: Dynamic loading progress

From: Stefan Monnier
Subject: Re: Dynamic loading progress
Date: Tue, 10 Feb 2015 20:45:03 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>> I think what this boils down to, is that we need a "emacs.h" or
>> something like that which modules would include instead of including
>> lisp.h.
> Yes, I was thinking of something along those lines as well. "emacs.h" could,
> for example, define a symbol EMACS_MODULE that is 1 (whereas it's 0 for core
> Emacs code), and then globals.h could conditionally define Qxxx to be
> something that's dynamically linkable but slower if EMACS_MODULE is 1, and
> to be something that's not dynamically linkable but faster if EMACS_MODULE
> is 0.

I was thinking of making emacs.h a "real file" which would contain
a subset of the current lisp.h and then lisp.h would #include it.


reply via email to

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