[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Benchmarks of guile-www against HB's Guile module.
From: |
Neil Jerram |
Subject: |
Re: Benchmarks of guile-www against HB's Guile module. |
Date: |
13 Feb 2002 21:45:41 +0000 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
>>>>> "Alejandro" == Alejandro Forero Cuervo <address@hidden> writes:
Alejandro> What I need to do is simply register my callback function
(hb-register,
Alejandro> which is registered from C code, not from Guile code)
specifing that
Alejandro> Guile must always pass it my user_data pointer in addition
the the
Alejandro> parameteres passed from the Guile code.
OK, I think I understand now. How about this:
SCM hb_register_public (SCM name, SCM proc)
{
return hb_register_internal (hb_get_current_file (), name, proc);
}
SCM hb_register_internal (HB_FILE *hb_file, SCM name, SCM proc)
{
...;
}
init_hb ()
{
gh_new_procedure2_0 ("hb-register", hb_register_public);
}
Neil
- Benchmarks of guile-www against HB's Guile module., Alejandro Forero Cuervo, 2002/02/11
- Re: Benchmarks of guile-www against HB's Guile module., Thien-Thi Nguyen, 2002/02/12
- Re: Benchmarks of guile-www against HB's Guile module., Alejandro Forero Cuervo, 2002/02/12
- Re: Benchmarks of guile-www against HB's Guile module., Thien-Thi Nguyen, 2002/02/12
- Re: Benchmarks of guile-www against HB's Guile module., Alejandro Forero Cuervo, 2002/02/13
- Re: Benchmarks of guile-www against HB's Guile module., Thien-Thi Nguyen, 2002/02/13
- Re: Benchmarks of guile-www against HB's Guile module., Alejandro Forero Cuervo, 2002/02/13
- Re: Benchmarks of guile-www against HB's Guile module., Thien-Thi Nguyen, 2002/02/14
- Re: Benchmarks of guile-www against HB's Guile module., Neil Jerram, 2002/02/12
- Re: Benchmarks of guile-www against HB's Guile module., Alejandro Forero Cuervo, 2002/02/13
- Re: Benchmarks of guile-www against HB's Guile module.,
Neil Jerram <=
- Re: Benchmarks of guile-www against HB's Guile module., Alejandro Forero Cuervo, 2002/02/13
- Re: Benchmarks of guile-www against HB's Guile module., Neil Jerram, 2002/02/15