Eli Zaretskii <eliz@gnu.org> schrieb am Do., 15. Okt. 2015 um 04:44 Uhr:
> From: Philipp Stephani <p.stephani2@gmail.com>
> Date: Wed, 14 Oct 2015 22:28:01 +0000
> Cc: dancol@dancol.org, stephen_leake@stephe-leake.org, emacs-devel@gnu.org
>
>     > 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.