1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
|
// A stress test against code generated by bindgen.
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct emacs_env_25 {
pub size: isize,
pub private_members: *mut emacs_env_private,
pub make_global_ref: ::std::option::Option<
unsafe extern "C" fn(env: *mut emacs_env, any_reference: emacs_value) -> emacs_value,
>,
pub free_global_ref: ::std::option::Option<
unsafe extern "C" fn(env: *mut emacs_env, global_reference: emacs_value),
>,
pub non_local_exit_check:
::std::option::Option<unsafe extern "C" fn(env: *mut emacs_env) -> emacs_funcall_exit>,
pub non_local_exit_clear: ::std::option::Option<unsafe extern "C" fn(env: *mut emacs_env)>,
pub non_local_exit_get: ::std::option::Option<
unsafe extern "C" fn(
env: *mut emacs_env,
non_local_exit_symbol_out: *mut emacs_value,
non_local_exit_data_out: *mut emacs_value,
) -> emacs_funcall_exit,
>,
pub non_local_exit_signal: ::std::option::Option<
unsafe extern "C" fn(
env: *mut emacs_env,
non_local_exit_symbol: emacs_value,
non_local_exit_data: emacs_value,
),
>,
pub non_local_exit_throw: ::std::option::Option<
unsafe extern "C" fn(env: *mut emacs_env, tag: emacs_value, value: emacs_value),
>,
pub make_function: ::std::option::Option<
unsafe extern "C" fn(
env: *mut emacs_env,
min_arity: isize,
max_arity: isize,
function: ::std::option::Option<
unsafe extern "C" fn(
env: *mut emacs_env,
nargs: isize,
args: *mut emacs_value,
arg1: *mut ::libc::c_void,
) -> emacs_value,
>,
documentation: *const ::libc::c_char,
data: *mut ::libc::c_void,
) -> emacs_value,
>,
pub funcall: ::std::option::Option<
unsafe extern "C" fn(
env: *mut emacs_env,
function: emacs_value,
nargs: isize,
args: *mut emacs_value,
) -> emacs_value,
>,
pub intern: ::std::option::Option<
unsafe extern "C" fn(
env: *mut emacs_env,
symbol_name: *const ::libc::c_char,
) -> emacs_value,
>,
pub type_of: ::std::option::Option<
unsafe extern "C" fn(env: *mut emacs_env, value: emacs_value) -> emacs_value,
>,
pub is_not_nil: ::std::option::Option<
unsafe extern "C" fn(env: *mut emacs_env, value: emacs_value) -> bool,
>,
pub eq: ::std::option::Option<
unsafe extern "C" fn(env: *mut emacs_env, a: emacs_value, b: emacs_value) -> bool,
>,
pub extract_integer: ::std::option::Option<
unsafe extern "C" fn(env: *mut emacs_env, value: emacs_value) -> intmax_t,
>,
pub make_integer: ::std::option::Option<
unsafe extern "C" fn(env: *mut emacs_env, value: intmax_t) -> emacs_value,
>,
pub extract_float:
::std::option::Option<unsafe extern "C" fn(env: *mut emacs_env, value: emacs_value) -> f64>,
pub make_float:
::std::option::Option<unsafe extern "C" fn(env: *mut emacs_env, value: f64) -> emacs_value>,
pub copy_string_contents: ::std::option::Option<
unsafe extern "C" fn(
env: *mut emacs_env,
value: emacs_value,
buffer: *mut ::libc::c_char,
size_inout: *mut isize,
) -> bool,
>,
pub make_string: ::std::option::Option<
unsafe extern "C" fn(
env: *mut emacs_env,
contents: *const ::libc::c_char,
length: isize,
) -> emacs_value,
>,
pub make_user_ptr: ::std::option::Option<
unsafe extern "C" fn(
env: *mut emacs_env,
fin: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::libc::c_void)>,
ptr: *mut ::libc::c_void,
) -> emacs_value,
>,
pub get_user_ptr: ::std::option::Option<
unsafe extern "C" fn(env: *mut emacs_env, uptr: emacs_value) -> *mut ::libc::c_void,
>,
pub set_user_ptr: ::std::option::Option<
unsafe extern "C" fn(env: *mut emacs_env, uptr: emacs_value, ptr: *mut ::libc::c_void),
>,
pub get_user_finalizer: ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut ::libc::c_void,
env: *mut emacs_env,
uptr: emacs_value,
) -> ::std::option::Option<
unsafe extern "C" fn(arg1: *mut ::libc::c_void, env: *mut emacs_env, uptr: emacs_value),
>,
>,
pub set_user_finalizer: ::std::option::Option<
unsafe extern "C" fn(
env: *mut emacs_env,
uptr: emacs_value,
fin: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::libc::c_void)>,
),
>,
pub vec_get: ::std::option::Option<
unsafe extern "C" fn(env: *mut emacs_env, vec: emacs_value, i: isize) -> emacs_value,
>,
pub vec_set: ::std::option::Option<
unsafe extern "C" fn(env: *mut emacs_env, vec: emacs_value, i: isize, val: emacs_value),
>,
pub vec_size:
::std::option::Option<unsafe extern "C" fn(env: *mut emacs_env, vec: emacs_value) -> isize>,
}
|