Initialize the allocator structure to use the stdalloc pointer.
Set up the structure so that all of its members are using the standard
"stdalloc" allocator functions. The structure can then be used with
git_allocator_setup.
@param allocator The allocator that is to be initialized.
@return An error code or 0.
Initialize the allocator structure to use the stdalloc pointer.
Set up the structure so that all of its members are using the standard "stdalloc" allocator functions. The structure can then be used with git_allocator_setup.
@param allocator The allocator that is to be initialized. @return An error code or 0.