Initialize the allocator structure to use the crtdbg pointer.
Set up the structure so that all of its members are using the "crtdbg"
allocator functions. Note that this allocator is only available on Windows
platforms and only if libgit2 is being compiled with "-DMSVC_CRTDBG".
@param allocator The allocator that is to be initialized.
@return An error code or 0.
Initialize the allocator structure to use the crtdbg pointer.
Set up the structure so that all of its members are using the "crtdbg" allocator functions. Note that this allocator is only available on Windows platforms and only if libgit2 is being compiled with "-DMSVC_CRTDBG".
@param allocator The allocator that is to be initialized. @return An error code or 0.