Lines Matching full:libffi
3 @setfilename libffi.info
5 @settitle libffi: the portable foreign function interface library
18 This manual is for libffi, a portable foreign function interface
46 * libffi: (libffi). Portable foreign function interface library.
50 @title libffi: a foreign function interface library
51 @subtitle For Version @value{VERSION} of libffi
61 @top libffi
66 * Introduction:: What is libffi?
67 * Using libffi:: How to use libffi.
68 * Missing Features:: Things libffi can't do.
76 @chapter What is libffi?
93 a given function. @samp{Libffi} can be used in such programs to
96 The @samp{libffi} library provides a portable, high level programming
104 The @samp{libffi} library really only provides the lowest, machine
106 layer must exist above @samp{libffi} that handles type conversions for
112 @node Using libffi
113 @chapter Using libffi
116 * The Basics:: The basic libffi API.
118 * Types:: libffi type descriptions.
129 @samp{Libffi} assumes that you have a pointer to the function you wish
157 @code{ffi_prep_cif} returns a @code{libffi} status code, of type
210 In most situations, @samp{libffi} will handle promotion according to
215 @samp{libffi}. @samp{libffi} provides a type, @code{ffi_arg}, that
217 with a return type of @code{char}, @samp{libffi} will try to store a
293 @code{Libffi} provides a number of built-in type descriptors that can
349 equivalent to the C @code{char} type in @code{libffi}; ordinarily you
409 @samp{libffi} is perfectly happy passing structures back and forth.
410 You must first describe the structure to @samp{libffi} by creating a
418 This is set by @code{libffi}; you should initialize it to zero.
421 This is set by @code{libffi}; you should initialize it to zero.
430 Note that @samp{libffi} has no special support for bit-fields. You
441 @code{libffi} will set the @code{size} and @code{alignment} fields of
446 has been laid out by @code{libffi}. However, there are some caveats.
455 @code{libffi} until it has been passed to @code{ffi_prep_cif} or
480 @code{libffi} also provides a way to get the offsets of the members of
507 @samp{libffi} does not have direct support for arrays or unions.
534 @samp{libffi} if you use it as an argument or return type. This may
582 @code{libffi} does not have any special support for C @code{enum}s.
585 determined by @code{libffi} -- it may depend on the values in the
616 @code{libffi}:
643 @samp{libffi} supports the complex types defined by the C99
651 complex type to @samp{libffi}.
678 For platforms that have no complex support in @code{libffi} yet,
777 @code{libffi} provides some support for this. However, this is
785 @code{libffi} also provides a way to write a generic function -- a
948 @code{libffi} is not completely thread-safe. However, many parts are,
971 @code{libffi} is missing a few features. We welcome patches to add