This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Anonymous C procedures in Guile


Jim Blandy <jimb@red-bean.com> writes:
> > This is probably a basic question but I haven't been able to find an
> > answer by myself, so I'm now seeking for some help here.
> 
> It sounds like what you want to do is create Guile procedure objects
> for your C functions, but you don't want to associate a name with them
> --- you just want the procedures.
> 
> To make a procedure object without binding it to any variable, call
> scm_make_subr_opt:

This is exactly what I need.  Thanks a lot for the answer.

Best regards,

M. S.
------------
Martin A. Soto J.                           Profesor
Departamento de Ingenieria de Sistemas y Computacion
Universidad de los Andes      masoto@uniandes.edu.co