From: Geoffrey Keating <geoffk@geoffk.org>
To: "Jan Ringo¹" <tringi@mx-3.cz>
Cc: gcc@gcc.gnu.org
Subject: Re: Calling function with va_list
Date: Sat, 27 Nov 2004 04:55:00 -0000 [thread overview]
Message-ID: <m2fz2wknzj.fsf@greed.local> (raw)
In-Reply-To: <000201c4d298$4f1ae0c0$971e9453@merovingian>
Jan Ringo¹ <tringi@mx-3.cz> writes:
> Hello,
>
> may I ask if it is possible to call any function with prepared va_list?
> I mean how can I construct call when I have my own constructed
> va_list, pointer in form "int (*func)()" to function e.g. "int
> func(int a, int b, int c)".
> Maybe "__builtin_apply" could solve this problem, but I am unable to
> find any information about how to build arguments to this function
> (something similar that __builtin_apply_args returns but in my own).
> Thanks for any ideas?
You want the libffi library, which is provided with gcc but is not
part of the compiler itself.
> PS: How can I register to get all e-mails from this maillist? I am not
> even sure if this is maillist :)
You really want the gcc-help@gcc.gnu.org mailing list. This list is
about how to write GCC, not how to use it.
prev parent reply other threads:[~2004-11-27 2:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-25 3:02 Jan Ringoš
2004-11-27 4:55 ` Geoffrey Keating [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2fz2wknzj.fsf@greed.local \
--to=geoffk@geoffk.org \
--cc=gcc@gcc.gnu.org \
--cc=tringi@mx-3.cz \
/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).