guile-devel
[Top][All Lists]
Advanced

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

Re: single or double cell?


From: Keisuke Nishida
Subject: Re: single or double cell?
Date: Fri, 02 Feb 2001 03:02:25 -0500
User-agent: Wanderlust/2.4.0 (Rio) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/21.0.96 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

At 01 Feb 2001 19:30:05 +0200,
Michael Livshin wrote:
> 
> > Is there any convenient way to know whether a given smob uses
> > a single-cell representation or double-cell?
> 
> SCM_GC_CARD_DOUBLECELLP (SCM_GC_CELL_CARD (obj))

This seems working, though I had to write rather

  SCM_GC_CARD_DOUBLECELLP (SCM_GC_CELL_CARD (SCM_UNPACK (obj)))

Thanks anyway.

Kei



reply via email to

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