This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ffi_type_pointer


'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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]