public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Jan Ringoš" <tringi@mx-3.cz>
To: <gcc@gcc.gnu.org>
Subject: Calling function with va_list
Date: Thu, 25 Nov 2004 03:02:00 -0000	[thread overview]
Message-ID: <000201c4d298$4f1ae0c0$971e9453@merovingian> (raw)

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?

PS: How can I register to get all e-mails from this maillist? I am not even sure 
if this is maillist :)

---
Jan Ringoš, Tringi@Mx-3.cz
http://Tringi.Mx-3.cz 

             reply	other threads:[~2004-11-25  2:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-25  3:02 Jan Ringoš [this message]
2004-11-27  4:55 ` Geoffrey Keating

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='000201c4d298$4f1ae0c0$971e9453@merovingian' \
    --to=tringi@mx-3.cz \
    --cc=gcc@gcc.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).