]>
Commit | Line | Data |
---|---|---|
5147e0e8 RH |
1 | #define LIBFFI_ASM |
2 | #define LIBFFI_H | |
3 | #include <fficonfig.h> | |
4 | #include <ffitarget.h> | |
5 | ||
1e00421c | 6 | LIBFFI_BASE_7.0 { |
2c055256 RH |
7 | global: |
8 | /* Exported data variables. */ | |
9 | ffi_type_void; | |
10 | ffi_type_uint8; | |
11 | ffi_type_sint8; | |
12 | ffi_type_uint16; | |
13 | ffi_type_sint16; | |
14 | ffi_type_uint32; | |
15 | ffi_type_sint32; | |
16 | ffi_type_uint64; | |
17 | ffi_type_sint64; | |
18 | ffi_type_float; | |
19 | ffi_type_double; | |
20 | ffi_type_longdouble; | |
21 | ffi_type_pointer; | |
22 | ||
23 | /* Exported functions. */ | |
24 | ffi_call; | |
25 | ffi_prep_cif; | |
26 | ffi_prep_cif_var; | |
27 | ||
28 | ffi_raw_call; | |
29 | ffi_ptrarray_to_raw; | |
30 | ffi_raw_to_ptrarray; | |
31 | ffi_raw_size; | |
32 | ||
33 | ffi_java_raw_call; | |
34 | ffi_java_ptrarray_to_raw; | |
35 | ffi_java_raw_to_ptrarray; | |
36 | ffi_java_raw_size; | |
37 | ||
38 | /* Functions in the ffi.h header, but not exported. | |
39 | These are listed here for documentation purposes only. | |
40 | ffi_prep_types | |
41 | ffi_prep_cif_core | |
42 | */ | |
43 | ||
44 | local: | |
45 | *; | |
46 | }; | |
47 | ||
5147e0e8 | 48 | #ifdef FFI_TARGET_HAS_COMPLEX_TYPE |
1e00421c | 49 | LIBFFI_COMPLEX_7.0 { |
2c055256 RH |
50 | global: |
51 | /* Exported data variables. */ | |
52 | ffi_type_complex_float; | |
53 | ffi_type_complex_double; | |
54 | ffi_type_complex_longdouble; | |
1e00421c | 55 | } LIBFFI_BASE_7.0; |
5147e0e8 | 56 | #endif |
2c055256 | 57 | |
5147e0e8 | 58 | #if FFI_CLOSURES |
1e00421c | 59 | LIBFFI_CLOSURE_7.0 { |
2c055256 RH |
60 | global: |
61 | ffi_closure_alloc; | |
62 | ffi_closure_free; | |
63 | ffi_prep_closure; | |
64 | ffi_prep_closure_loc; | |
65 | ffi_prep_raw_closure; | |
66 | ffi_prep_raw_closure_loc; | |
67 | ffi_prep_java_raw_closure; | |
68 | ffi_prep_java_raw_closure_loc; | |
1e00421c | 69 | } LIBFFI_BASE_7.0; |
5147e0e8 | 70 | #endif |
2c055256 | 71 | |
5147e0e8 | 72 | #if FFI_GO_CLOSURES |
1e00421c | 73 | LIBFFI_GO_CLOSURE_7.0 { |
2c055256 RH |
74 | global: |
75 | ffi_call_go; | |
76 | ffi_prep_go_closure; | |
1e00421c | 77 | } LIBFFI_CLOSURE_7.0; |
5147e0e8 | 78 | #endif |