emacs-devel
[Top][All Lists]
Advanced

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

Re: Dynamic loading progress


From: Philipp Stephani
Subject: Re: Dynamic loading progress
Date: Thu, 15 Oct 2015 23:07:41 +0000



Eli Zaretskii <address@hidden> schrieb am Do., 15. Okt. 2015 um 04:44 Uhr:
> From: Philipp Stephani <address@hidden>
> Date: Wed, 14 Oct 2015 22:28:01 +0000
> Cc: address@hidden, address@hidden, address@hidden
>
>     > I'm not sure I understood what you wanted.. I've commited this, but it
>     > assumes Lisp_Object are the same size as pointers...
>
>     That assumption is false in an Emacs built --with-wide-int.
>
>     If you need to wrap a pointer in a Lisp_Object, we have XIL and XLI
>     macros for that.
>
>
> These are no-ops in my version of lisp.h:
>
> # define lisp_h_XLI(o) (o)
> # define lisp_h_XIL(i) (i)
>
> Unless I'm misunderstanding something, these macros can't be used to wrap
> pointers in the general case.

We do that all the time, so I don't understand why you understand
that.  Please elaborate.


I got it backwards: we need to wrap Lisp_Objects in pointers, not the other way round. 

reply via email to

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