We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b238d16 + 53485da commit ae91c48Copy full SHA for ae91c48
libgit2-sys/lib.rs
@@ -4115,8 +4115,12 @@ extern "C" {
4115
priority: c_int,
4116
) -> c_int;
4117
4118
+ #[deprecated(note = "only kept for compatibility; prefer git_odb_backend_data_alloc")]
4119
pub fn git_odb_backend_malloc(backend: *mut git_odb_backend, len: size_t) -> *mut c_void;
4120
4121
+ pub fn git_odb_backend_data_alloc(backend: *mut git_odb_backend, len: size_t) -> *mut c_void;
4122
+ pub fn git_odb_backend_data_free(backend: *mut git_odb_backend, data: *mut c_void);
4123
+
4124
pub fn git_odb_num_backends(odb: *mut git_odb) -> size_t;
4125
pub fn git_odb_get_backend(
4126
backend: *mut *mut git_odb_backend,
0 commit comments