From a295bd2dc4a1ac2b15b9c39089d148499e6e9e00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Sat, 6 Dec 2014 03:36:18 +0100 Subject: doc: add documentation to all the public structs and enums This makes them show up in the reference, even if the text itself isn't the most descriptive. These have been found with grep -Przon '\n\ntypedef struct.*?\{' -- include grep -Przon '\n\ntypedef enum.*?\{' -- include --- include/git2/sys/diff.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include/git2/sys/diff.h') diff --git a/include/git2/sys/diff.h b/include/git2/sys/diff.h index 48d72f4f9..034d5c478 100644 --- a/include/git2/sys/diff.h +++ b/include/git2/sys/diff.h @@ -61,10 +61,13 @@ GIT_EXTERN(int) git_diff_print_callback__to_file_handle( void *payload); /*< payload must be a `FILE *` */ +/** + * Performance data from diffing + */ typedef struct { unsigned int version; - size_t stat_calls; - size_t oid_calculations; + size_t stat_calls; /*< Number of stat() calls performed */ + size_t oid_calculations; /*< Number of ID calculations */ } git_diff_perfdata; #define GIT_DIFF_PERFDATA_VERSION 1 -- cgit v1.2.1