From: Bruce Korb <bkorb@veritas.com>
Cc: guile development <guile-devel@gnu.org>
Subject: Re: How do I determine the argument type...
Date: Sat, 17 May 2003 14:16:58 -0700 [thread overview]
Message-ID: <3EC6A6CA.94855664@veritas.com> (raw)
In-Reply-To: 874r3t5o1f.fsf@zagadka.ping.de
Marius Vollmer wrote:
>
> Bruce Korb <bkorb@veritas.com> 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. Both 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?
> $ guile --version
> Guile 1.4
> Copyright (c) 1995, 1996, 1997, 2000 Free Software Foundation
> ...
> $ fgrep gh_scm2newstr /opt/TWWfsw/guile14/include/guile/gh.h
> char *gh_scm2newstr(SCM str, int *lenp);
> $ uname -a
> HP-UX kibo B.11.00 A 9000/800 1596730518 two-user license
This is an I32LP64 platform. I don't manage it. This is
the Guile version they have. It is only 3 years old, not
truely ancient.
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
next prev parent reply other threads:[~2003-05-17 21:16 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-10 3:27 How do I determine the argument type Bruce Korb
2003-05-10 3:31 ` Bruce Korb
2003-05-17 20:14 ` Marius Vollmer
2003-05-17 21:16 ` Bruce Korb [this message]
2003-05-18 1:57 ` Marius Vollmer
2003-05-18 2:59 ` Bruce Korb
2003-05-19 0:07 ` Kevin Ryde
2003-05-19 0:34 ` Bruce Korb
2003-05-19 0:47 ` Kevin Ryde
2003-05-19 1:44 ` Bruce Korb
2003-06-01 18:45 ` Marius Vollmer
2003-06-01 20:07 ` Bruce Korb
2003-06-11 22:33 ` Kevin Ryde
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3EC6A6CA.94855664@veritas.com \
--to=bkorb@veritas.com \
--cc=guile-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).