guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I determine the argument type...


From: Marius Vollmer
Subject: Re: How do I determine the argument type...
Date: 17 May 2003 22:14:04 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Bruce Korb <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]