1 // A stress test against code generated by bindgen.
3 #[derive(Debug, Copy, Clone)]
4 pub struct emacs_env_25 {
6 pub private_members: *mut emacs_env_private,
7 pub make_global_ref: ::std::option::Option<
8 unsafe extern "C" fn(env: *mut emacs_env, any_reference: emacs_value) -> emacs_value,
10 pub free_global_ref: ::std::option::Option<
11 unsafe extern "C" fn(env: *mut emacs_env, global_reference: emacs_value),
13 pub non_local_exit_check:
14 ::std::option::Option<unsafe extern "C" fn(env: *mut emacs_env) -> emacs_funcall_exit>,
15 pub non_local_exit_clear: ::std::option::Option<unsafe extern "C" fn(env: *mut emacs_env)>,
16 pub non_local_exit_get: ::std::option::Option<
19 non_local_exit_symbol_out: *mut emacs_value,
20 non_local_exit_data_out: *mut emacs_value,
21 ) -> emacs_funcall_exit,
23 pub non_local_exit_signal: ::std::option::Option<
26 non_local_exit_symbol: emacs_value,
27 non_local_exit_data: emacs_value,
30 pub non_local_exit_throw: ::std::option::Option<
31 unsafe extern "C" fn(env: *mut emacs_env, tag: emacs_value, value: emacs_value),
33 pub make_function: ::std::option::Option<
38 function: ::std::option::Option<
42 args: *mut emacs_value,
43 arg1: *mut ::libc::c_void,
46 documentation: *const ::libc::c_char,
47 data: *mut ::libc::c_void,
50 pub funcall: ::std::option::Option<
53 function: emacs_value,
55 args: *mut emacs_value,
58 pub intern: ::std::option::Option<
59 unsafe extern "C" fn(env: *mut emacs_env, symbol_name: *const ::libc::c_char)
62 pub type_of: ::std::option::Option<
63 unsafe extern "C" fn(env: *mut emacs_env, value: emacs_value) -> emacs_value,
65 pub is_not_nil: ::std::option::Option<
66 unsafe extern "C" fn(env: *mut emacs_env, value: emacs_value) -> bool,
68 pub eq: ::std::option::Option<
69 unsafe extern "C" fn(env: *mut emacs_env, a: emacs_value, b: emacs_value) -> bool,
71 pub extract_integer: ::std::option::Option<
72 unsafe extern "C" fn(env: *mut emacs_env, value: emacs_value) -> intmax_t,
74 pub make_integer: ::std::option::Option<
75 unsafe extern "C" fn(env: *mut emacs_env, value: intmax_t) -> emacs_value,
78 ::std::option::Option<unsafe extern "C" fn(env: *mut emacs_env, value: emacs_value) -> f64>,
80 ::std::option::Option<unsafe extern "C" fn(env: *mut emacs_env, value: f64) -> emacs_value>,
81 pub copy_string_contents: ::std::option::Option<
85 buffer: *mut ::libc::c_char,
86 size_inout: *mut isize,
89 pub make_string: ::std::option::Option<
90 unsafe extern "C" fn(env: *mut emacs_env, contents: *const ::libc::c_char, length: isize)
93 pub make_user_ptr: ::std::option::Option<
96 fin: ::std::option::Option<
97 unsafe extern "C" fn(arg1: *mut ::libc::c_void),
99 ptr: *mut ::libc::c_void,
102 pub get_user_ptr: ::std::option::Option<
103 unsafe extern "C" fn(env: *mut emacs_env, uptr: emacs_value) -> *mut ::libc::c_void,
105 pub set_user_ptr: ::std::option::Option<
106 unsafe extern "C" fn(env: *mut emacs_env, uptr: emacs_value, ptr: *mut ::libc::c_void),
108 pub get_user_finalizer: ::std::option::Option<
109 unsafe extern "C" fn(
110 arg1: *mut ::libc::c_void, env: *mut emacs_env, uptr: emacs_value
111 ) -> ::std::option::Option<
112 unsafe extern "C" fn(arg1: *mut ::libc::c_void, env: *mut emacs_env, uptr: emacs_value),
115 pub set_user_finalizer: ::std::option::Option<
116 unsafe extern "C" fn(
119 fin: ::std::option::Option<
120 unsafe extern "C" fn(arg1: *mut ::libc::c_void),
124 pub vec_get: ::std::option::Option<
125 unsafe extern "C" fn(env: *mut emacs_env, vec: emacs_value, i: isize) -> emacs_value,
127 pub vec_set: ::std::option::Option<
128 unsafe extern "C" fn(env: *mut emacs_env, vec: emacs_value, i: isize, val: emacs_value),
131 ::std::option::Option<unsafe extern "C" fn(env: *mut emacs_env, vec: emacs_value) -> isize>,