[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: smobs
From: |
Thamer Al-Harbash |
Subject: |
Re: smobs |
Date: |
Mon, 12 May 2003 16:24:28 -0400 (EDT) |
On Mon, 12 May 2003, Dr. Peter Ivanyi wrote:
> Thanks for the answers. I found the bug and it was related to the
> reported number of allocations. However now I have a related question.
>
> What should I do if my smob is simply an integer (immediate type)?
> Do I have to allocate it or I can simply use it from the local
> variable? Basically what confuses me is, that I do not fully understand
> what guile will do with an integer if it is passed as a smob.
> For example is this correct:
[snip]
Have you read the "Data Representation" section in the manual? It
goes over this thoroughly. I don't mean to say RTFM, but it does
address your question thoroughly.
--
Thamer Al-Harbash http://www.whitefang.com/
(if (> pressure too-much-pressure)
'flame 'work)
- smobs, Dr. Peter Ivanyi, 2003/05/11
- Re: smobs, Thamer Al-Harbash, 2003/05/12
- Re: smobs, Thamer Al-Harbash, 2003/05/12
- Re: smobs, Dr. Peter Ivanyi, 2003/05/12
- Re: smobs,
Thamer Al-Harbash <=
- Re: smobs, Marius Vollmer, 2003/05/13
- Re: smobs, tomas, 2003/05/14
- Re: smobs, Dr. Peter Ivanyi, 2003/05/14