[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gurus? Care to re-explain the absense of gh_set_x() for me?
From: |
Thien-Thi Nguyen |
Subject: |
Re: Gurus? Care to re-explain the absense of gh_set_x() for me? |
Date: |
Fri, 13 Jul 2001 03:47:06 -0700 |
From: Sam Tregar <address@hidden>
Date: Fri, 13 Jul 2001 02:01:43 -0400 (EDT)
Simple put, how can I implement this call in C:
(+= a 10)
My attempt was something like this in C:
(set! a (+ a 10))
But since there's no (gh|scm)_set_x in Guile, I'm stuck.
what's wrong w/:
SCM a;
a = scm_sum (a, SCM_INUM (10));
? you could use a function pointer to abstract the operator...
maybe i'm missing a constraint somewhere.
thi
- Re: No gh_set_x()?, (continued)
- Re: No gh_set_x()?, Brett Viren, 2001/07/10
- Re: No gh_set_x()?, Sam Tregar, 2001/07/10
- Re: No gh_set_x()?, Brett Viren, 2001/07/10
- Re: No gh_set_x()?, Sam Tregar, 2001/07/10
- Gurus? Care to re-explain the absense of gh_set_x() for me?, Sam Tregar, 2001/07/12
- Re: Gurus? Care to re-explain the absense of gh_set_x() for me?, Martin Grabmueller, 2001/07/13
- Re: Gurus? Care to re-explain the absense of gh_set_x() for me?, Sam Tregar, 2001/07/13
- Re: Gurus? Care to re-explain the absense of gh_set_x() for me?, Martin Grabmueller, 2001/07/13
- Re: Gurus? Care to re-explain the absense of gh_set_x() for me?, Sam Tregar, 2001/07/13
- Re: Gurus? Care to re-explain the absense of gh_set_x() for me?,
Thien-Thi Nguyen <=
- Re: Gurus? Care to re-explain the absense of gh_set_x() for me?, Sam Tregar, 2001/07/13
- Re: Gurus? Care to re-explain the absense of gh_set_x() for me?, Alex Shinn, 2001/07/13
- Re: Gurus? Care to re-explain the absense of gh_set_x() for me?, Sam Tregar, 2001/07/13
- Re: Gurus? Care to re-explain the absense of gh_set_x() for me?, Alex Shinn, 2001/07/13
- Re: Gurus? Care to re-explain the absense of gh_set_x() for me?, Sam Tregar, 2001/07/13
- Re: Gurus? Care to re-explain the absense of gh_set_x() for me?, Eric E Moore, 2001/07/13
- Re: Gurus? Care to re-explain the absense of gh_set_x() for me?, Rob Browning, 2001/07/13
- Re: Gurus? Care to re-explain the absense of gh_set_x() for me?, Miroslav Silovic, 2001/07/15
- Re: Gurus? Care to re-explain the absense of gh_set_x() for me?, Rob Browning, 2001/07/16
- Re: Gurus? Care to re-explain the absense of gh_set_x() for me?, Neil Jerram, 2001/07/14