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<
61 symbol_name: *const ::libc::c_char,
64 pub type_of: ::std::option::Option<
65 unsafe extern "C" fn(env: *mut emacs_env, value: emacs_value) -> emacs_value,
67 pub is_not_nil: ::std::option::Option<
68 unsafe extern "C" fn(env: *mut emacs_env, value: emacs_value) -> bool,
70 pub eq: ::std::option::Option<
71 unsafe extern "C" fn(env: *mut emacs_env, a: emacs_value, b: emacs_value) -> bool,
73 pub extract_integer: ::std::option::Option<
74 unsafe extern "C" fn(env: *mut emacs_env, value: emacs_value) -> intmax_t,
76 pub make_integer: ::std::option::Option<
77 unsafe extern "C" fn(env: *mut emacs_env, value: intmax_t) -> emacs_value,
80 ::std::option::Option<unsafe extern "C" fn(env: *mut emacs_env, value: emacs_value) -> f64>,
82 ::std::option::Option<unsafe extern "C" fn(env: *mut emacs_env, value: f64) -> emacs_value>,
83 pub copy_string_contents: ::std::option::Option<
87 buffer: *mut ::libc::c_char,
88 size_inout: *mut isize,
91 pub make_string: ::std::option::Option<
94 contents: *const ::libc::c_char,
98 pub make_user_ptr: ::std::option::Option<
101 fin: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::libc::c_void)>,
102 ptr: *mut ::libc::c_void,
105 pub get_user_ptr: ::std::option::Option<
106 unsafe extern "C" fn(env: *mut emacs_env, uptr: emacs_value) -> *mut ::libc::c_void,
108 pub set_user_ptr: ::std::option::Option<
109 unsafe extern "C" fn(env: *mut emacs_env, uptr: emacs_value, ptr: *mut ::libc::c_void),
111 pub get_user_finalizer: ::std::option::Option<
112 unsafe extern "C" fn(
113 arg1: *mut ::libc::c_void,
116 ) -> ::std::option::Option<
117 unsafe extern "C" fn(arg1: *mut ::libc::c_void, env: *mut emacs_env, uptr: emacs_value),
120 pub set_user_finalizer: ::std::option::Option<
121 unsafe extern "C" fn(
124 fin: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::libc::c_void)>,
127 pub vec_get: ::std::option::Option<
128 unsafe extern "C" fn(env: *mut emacs_env, vec: emacs_value, i: isize) -> emacs_value,
130 pub vec_set: ::std::option::Option<
131 unsafe extern "C" fn(env: *mut emacs_env, vec: emacs_value, i: isize, val: emacs_value),
134 ::std::option::Option<unsafe extern "C" fn(env: *mut emacs_env, vec: emacs_value) -> isize>,