[Top][All Lists]

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

Re: Emacs geometry

From: Stefan Monnier
Subject: Re: Emacs geometry
Date: Mon, 31 Jul 2006 12:17:56 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>> Does this give correct results?
>> printf ("top: %d, left: %d", XINT (XCDR (Fassq (Qtop, foo))),
>> XINT (XCDR (Fassq (Qleft, foo))));

> Yes, this prints the correct values.  Thanks!  Is there a general rule
> about when to call XINT?

If you compile with -DUSE_LISP_UNION_TYPE the compiler will tell you,


PS: Lisp_Object is often represented by an integer for efficiency reasons
    (i.e. because C compilers don't implement word-sized structs and unions
    efficiently enough), but that doesn't have to be the case.

reply via email to

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