From: Bruce Korb <bruce.korb@gmail.com>
To: Richard Henderson <rth@redhat.com>
Cc: libffi-discuss@sourceware.org
Subject: Re: ffi_type_pointer
Date: Mon, 27 Apr 2015 19:18:00 -0000 [thread overview]
Message-ID: <CAKRnqN+MrH1mkh_iE72oom62j-oP924-VnzayMn0rdMyj8dj9Q@mail.gmail.com> (raw)
'ffi_type_pointer'
A generic 'void *' pointer. You should use this for all pointers,
regardless of their real type. BE CAREFUL HERE. In libffi, there
is a difference between an array and a pointer. In C, an array
yields an address of the array and libffi expects the value array
to have a pointer to the address of the array -- a pointer to pointer.
And I still have no idea what to make about the discussion of
modifying passed values.
reply other threads:[~2015-04-27 19:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=CAKRnqN+MrH1mkh_iE72oom62j-oP924-VnzayMn0rdMyj8dj9Q@mail.gmail.com \
--to=bruce.korb@gmail.com \
--cc=libffi-discuss@sourceware.org \
--cc=rth@redhat.com \
/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).