* Re: ffi_type_pointer
@ 2015-04-27 19:18 Bruce Korb
0 siblings, 0 replies; only message in thread
From: Bruce Korb @ 2015-04-27 19:18 UTC (permalink / raw)
To: Richard Henderson; +Cc: libffi-discuss
'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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-04-27 19:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-27 19:18 ffi_type_pointer Bruce Korb
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).