From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.devel Subject: Re: How do I determine the argument type... Date: 17 May 2003 22:14:04 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <874r3t5o1f.fsf@zagadka.ping.de> References: <3EBC71BF.B2264C7@veritas.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1053202494 26645 80.91.224.249 (17 May 2003 20:14:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 17 May 2003 20:14:54 +0000 (UTC) Cc: guile development Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat May 17 22:14:52 2003 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 19H84y-0006vT-00 for ; Sat, 17 May 2003 22:14:52 +0200 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 19H85K-0006Et-01 for guile-devel@m.gmane.org; Sat, 17 May 2003 16:15:14 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19H84z-00062b-00 for guile-devel@gnu.org; Sat, 17 May 2003 16:14:53 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19H84x-0005wU-00 for guile-devel@gnu.org; Sat, 17 May 2003 16:14:52 -0400 Original-Received: from mail.dokom.net ([195.253.8.218]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19H84j-0005KL-00 for guile-devel@gnu.org; Sat, 17 May 2003 16:14:37 -0400 Original-Received: from dialin.speedway42.dip31.dokom.de ([195.138.42.31] helo=zagadka.ping.de) by mail.dokom.net with smtp (Exim 3.36 #3) id 19H86L-0006sq-00 for guile-devel@gnu.org; Sat, 17 May 2003 22:16:17 +0200 Original-Received: (qmail 28561 invoked by uid 1000); 17 May 2003 20:14:04 -0000 Original-To: Bruce Korb In-Reply-To: <3EBC71BF.B2264C7@veritas.com> Original-Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 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:2396 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2396 Bruce Korb writes: > The problem is with gh_scm2newstr: > > size_t len; > char* pz = gh_scm2newstr( str, &len ); > > This is a problem on a platform where the argument is actually > int* and the platform is I32LP64. i.e., the size_t is 64 bits. > Since other versions of the library use size_t, I think I'm > pretty much hosed without using an scm2newstr_size_t :-( I don't understand. Bothe 1.6 and 1.7 have this prototype for gh_scm2newstr: char *gh_scm2newstr (SCM str, size_t *lenp); On what platform is the argument actually an "int*"? Can you give a specific example that must fail? -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel