test/fixtures/git2/common.h in docurium-0.5.0 vs test/fixtures/git2/common.h in docurium-0.6.0
- old
+ new
@@ -37,9 +37,15 @@
# define GIT_BEGIN_DECL /* empty */
/** End declarations in C mode */
# define GIT_END_DECL /* empty */
#endif
+/*
+ * libclang won't consider anything with size_t to have comments unless we use
+ * this hack.
+ */
+typedef size_t size_t;
+
/** Declare a public function exported for application use. */
#ifdef __GNUC__
# define GIT_EXTERN(type) extern \
__attribute__((visibility("default"))) \
type