]>
Commit | Line | Data |
---|---|---|
ea2d184c JF |
1 | #ifndef SIG_FFI_TYPE_H |
2 | #define SIG_FFI_TYPE_H | |
3 | ||
4 | #include <apr-1/apr_pools.h> | |
5 | #include <ffi.h> | |
6 | ||
7 | #include "sig/types.hpp" | |
8 | ||
9 | namespace sig { | |
10 | ||
b21525c7 JF |
11 | ffi_type *ObjectiveC(apr_pool_t *pool, struct Type *type); |
12 | ffi_type *Java(apr_pool_t *pool, struct Type *type); | |
ea2d184c JF |
13 | |
14 | void sig_ffi_cif( | |
15 | apr_pool_t *pool, | |
16 | ffi_type *(*sig_ffi_type)(apr_pool_t *, struct Type *), | |
17 | struct Signature *signature, | |
b21525c7 | 18 | ffi_cif *cif, |
ea2d184c JF |
19 | size_t skip = 0, |
20 | ffi_type **types = NULL, | |
21 | size_t offset = 0 | |
22 | ); | |
23 | ||
24 | } | |
25 | ||
26 | #endif/*SIG_FFI_TYPE_H*/ |