[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scm_make_gsubr question
From: |
Dale P. Smith |
Subject: |
Re: scm_make_gsubr question |
Date: |
Sun, 2 Feb 2003 17:55:30 -0500 |
On Mon, 20 Jan 2003 10:00:48 +0100
Mikael Djurfeldt <address@hidden> wrote:
> Neil Jerram <address@hidden> writes:
>
> >>>>>> "William" == William Morgan <address@hidden> writes:
> >
> > William> Is there a way to specify, at the time you call
> > William> scm_make_gsubr, a user data parameter which is passed to
> > William> the corresponding C function? [...]
> I don't think it's a good idea to add this to gsubrs.
>
> We already have three different ways to do it:
>
> 1. applicable smobs
>
> 2. compiled closures (cclo)
>
> 3. entities and operators (applicable structs)
>
> Of these, 1 and 2 are easy to do from C.
I've always wondered about cclo's. Are there any examples of use? I
didn't find much in the Guile Reference Manual.
-Dale
--
Dale P. Smith
Senior Systems Consultant, | Treasurer,
Altus Technologies Corporation | Cleveland Linux Users Group
address@hidden | http://cleveland.lug.net
440-746-9000 x339 |
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: scm_make_gsubr question,
Dale P. Smith <=