summaryrefslogtreecommitdiff
path: root/Objective-C/libffi_support.h
blob: ca04c6b8d8345a389fb5a142e3e3a4f3243595cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef PyObjC_FFI_SUPPORT_H
#define PyObjC_FFI_SUPPORT_H

#ifdef USE_LIBFFI
#ifdef HAVE_FFI_H
#include <ffi.h>
#elif HAVE_FFI_FFI_H
#include <ffi/ffi.h>
#else
/* We are using our own build of libffi. */
#include <ffi.h>
#endif
#endif

ffi_type*
objcl_pyobjc_signature_to_ffi_return_type (const char* argtype);

ffi_type*
objcl_pyobjc_arg_signature_to_ffi_type (const char* argtype);

#endif /* PyObjC_FFI_SUPPORT_H */