Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
111d5ccf
Commit
111d5ccf
authored
Oct 31, 2008
by
Shawn O. Pearce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a git_sobj_close to release the git_sobj data
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
parent
b51eb250
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
src/git_odb.h
+11
-0
No files found.
src/git_odb.h
View file @
111d5ccf
...
@@ -140,6 +140,17 @@ GIT_EXTERN(git_result) git_odb__read_packed(git_sobj *out, git_odb *db, const gi
...
@@ -140,6 +140,17 @@ GIT_EXTERN(git_result) git_odb__read_packed(git_sobj *out, git_odb *db, const gi
*/
*/
GIT_EXTERN
(
git_result
)
git_odb__read_loose
(
git_sobj
*
out
,
git_odb
*
db
,
const
git_oid
*
id
);
GIT_EXTERN
(
git_result
)
git_odb__read_loose
(
git_sobj
*
out
,
git_odb
*
db
,
const
git_oid
*
id
);
/**
* Release all memory used by the sobj structure.
*
* As a result of this call, obj->data will be set to NULL.
*
* If obj->data is already NULL, nothing happens.
*
* @param obj object descriptor to free.
*/
GIT_EXTERN
(
void
)
git_sobj_close
(
git_sobj
*
obj
);
/** @} */
/** @} */
GIT_END_DECL
GIT_END_DECL
#endif
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment