unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* scm_make_gsubr question
@ 2003-01-19 20:40 William Morgan
  2003-01-19 23:55 ` Neil Jerram
  2003-01-21 15:04 ` Marius Vollmer
  0 siblings, 2 replies; 9+ messages in thread
From: William Morgan @ 2003-01-19 20:40 UTC (permalink / raw)


Dear Guile developers,

Is there a way to specify, at the time you call scm_make_gsubr, a user
data parameter which is passed to the corresponding C function? This
would allow the same C function to be used for multiple Guile
procedures, behaving differently based on the user data parameter.
(This is a standard mechanism in C callback-style libraries, e.g. glib.)

If not, I would like to submit a patch...

-- 
William <wmorgan@masanjin.net>


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-02-02 22:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-19 20:40 scm_make_gsubr question William Morgan
2003-01-19 23:55 ` Neil Jerram
2003-01-20  8:24   ` Rob Browning
2003-01-20  8:58     ` Marius Vollmer
2003-01-20  9:00   ` Mikael Djurfeldt
2003-01-20 19:07     ` William Morgan
2003-01-20 20:03       ` Mikael Djurfeldt
2003-02-02 22:55     ` Dale P. Smith
2003-01-21 15:04 ` Marius Vollmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).