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: [PATCH] Use FFI_DECLARE macros


----- "Mladen Turk" <mturk@redhat.com> wrote:

> However I'll make another patch that would allow to
> build eaither static or dynamic library.
> This would however require that one wishing to use the static
> library would need to define -DLIBFFI_DECLARE_STATIC before
> including ffi.h

This should be a substitution in ffi.h.in, no? Just like

#define @TARGET@

for the target arch. Perhaps called @LINKAGE@, with FFI_DECLARE and FFI_EXPORT #defined appropriately immediately afterward.

Regards,
Dan


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