From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: William Morgan Newsgroups: gmane.lisp.guile.devel Subject: scm_make_gsubr question Date: Sun, 19 Jan 2003 15:40:23 -0500 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <20030119204023.GA22802@masanjin.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1043008872 23752 80.91.224.249 (19 Jan 2003 20:41:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 19 Jan 2003 20:41:12 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18aMFj-0006Ay-00 for ; Sun, 19 Jan 2003 21:41:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18aMGa-0002IU-01 for guile-devel@m.gmane.org; Sun, 19 Jan 2003 15:42:04 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18aMFO-0000Uu-00 for guile-devel@gnu.org; Sun, 19 Jan 2003 15:40:50 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18aMF0-0008Kx-00 for guile-devel@gnu.org; Sun, 19 Jan 2003 15:40:27 -0500 Original-Received: from gnudist.gnu.org ([199.232.41.7]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18aMET-0006mN-00 for guile-devel@gnu.org; Sun, 19 Jan 2003 15:39:53 -0500 Original-Received: from h0060976e2b56.ne.client2.attbi.com ([65.96.180.211] helo=lux) by gnudist.gnu.org with esmtp (Exim 4.10.13) id 18aMDd-0002gH-00 for guile-devel@gnu.org; Sun, 19 Jan 2003 15:39:01 -0500 Original-Received: from wmorgan by lux with local (Exim 3.35 #1 (Debian)) id 18aMEx-0006EU-00 for ; Sun, 19 Jan 2003 15:40:23 -0500 Original-To: guile-devel@gnu.org Mail-Followup-To: guile-devel@gnu.org Content-Disposition: inline User-Agent: Mutt/1.4i X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:1875 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1875 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 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel