libgit2

git_odb_backend_malloc

Deprecated
Version:

Allocate memory for an ODB object from a custom backend. This is an alias of git_odb_backend_data_alloc and is preserved for backward compatibility.

This function is deprecated, but there is no plan to remove this function at this time.

Deprecations

See

Signature

void *git_odb_backend_malloc(git_odb_backend *backend, size_t len);

Parameters

In
backend
size_t
In
len

Returns

void *

Versions