mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-03 01:41:03 +00:00
Merge pull request #3716 from libgit2/cmn/typedef-sizet
Add a no-op size_t typedef for the doc parser
This commit is contained in:
commit
1694a63994
@ -29,6 +29,14 @@
|
||||
# include <inttypes.h>
|
||||
#endif
|
||||
|
||||
#ifdef DOCURIUM
|
||||
/*
|
||||
* This is so clang's doc parser acknowledges comments on functions
|
||||
* with size_t parameters.
|
||||
*/
|
||||
typedef size_t size_t;
|
||||
#endif
|
||||
|
||||
/** Declare a public function exported for application use. */
|
||||
#if __GNUC__ >= 4
|
||||
# define GIT_EXTERN(type) extern \
|
||||
|
Loading…
Reference in New Issue
Block a user