Commit 2a3cfc23 by Alpha Committed by GitHub

Docs: Fix inline comments for git_diff_hunk

parent a9d6b9d5
...@@ -515,12 +515,12 @@ typedef int(*git_diff_binary_cb)( ...@@ -515,12 +515,12 @@ typedef int(*git_diff_binary_cb)(
* Structure describing a hunk of a diff. * Structure describing a hunk of a diff.
*/ */
typedef struct { typedef struct {
int old_start; /** Starting line number in old_file */ int old_start; /**< Starting line number in old_file */
int old_lines; /** Number of lines in old_file */ int old_lines; /**< Number of lines in old_file */
int new_start; /** Starting line number in new_file */ int new_start; /**< Starting line number in new_file */
int new_lines; /** Number of lines in new_file */ int new_lines; /**< Number of lines in new_file */
size_t header_len; /** Number of bytes in header text */ size_t header_len; /**< Number of bytes in header text */
char header[GIT_DIFF_HUNK_HEADER_SIZE]; /** Header text, NUL-byte terminated */ char header[GIT_DIFF_HUNK_HEADER_SIZE]; /**< Header text, NUL-byte terminated */
} git_diff_hunk; } git_diff_hunk;
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment