Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/smanonr..../opt/imh-pyth.../include/git2
File: oidarray.h
/*
[0] Fix | Delete
* Copyright (C) the libgit2 contributors. All rights reserved.
[1] Fix | Delete
*
[2] Fix | Delete
* This file is part of libgit2, distributed under the GNU GPL v2 with
[3] Fix | Delete
* a Linking Exception. For full terms see the included COPYING file.
[4] Fix | Delete
*/
[5] Fix | Delete
#ifndef INCLUDE_git_oidarray_h__
[6] Fix | Delete
#define INCLUDE_git_oidarray_h__
[7] Fix | Delete
[8] Fix | Delete
#include "common.h"
[9] Fix | Delete
#include "oid.h"
[10] Fix | Delete
[11] Fix | Delete
GIT_BEGIN_DECL
[12] Fix | Delete
[13] Fix | Delete
/** Array of object ids */
[14] Fix | Delete
typedef struct git_oidarray {
[15] Fix | Delete
git_oid *ids;
[16] Fix | Delete
size_t count;
[17] Fix | Delete
} git_oidarray;
[18] Fix | Delete
[19] Fix | Delete
/**
[20] Fix | Delete
* Free the OID array
[21] Fix | Delete
*
[22] Fix | Delete
* This method must (and must only) be called on `git_oidarray`
[23] Fix | Delete
* objects where the array is allocated by the library. Not doing so,
[24] Fix | Delete
* will result in a memory leak.
[25] Fix | Delete
*
[26] Fix | Delete
* This does not free the `git_oidarray` itself, since the library will
[27] Fix | Delete
* never allocate that object directly itself (it is more commonly embedded
[28] Fix | Delete
* inside another struct or created on the stack).
[29] Fix | Delete
*
[30] Fix | Delete
* @param array git_oidarray from which to free oid data
[31] Fix | Delete
*/
[32] Fix | Delete
GIT_EXTERN(void) git_oidarray_free(git_oidarray *array);
[33] Fix | Delete
[34] Fix | Delete
/** @} */
[35] Fix | Delete
GIT_END_DECL
[36] Fix | Delete
[37] Fix | Delete
#endif
[38] Fix | Delete
[39] Fix | Delete
[40] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function