Commit 1694a639 by Edward Thomson

Merge pull request #3716 from libgit2/cmn/typedef-sizet

Add a no-op size_t typedef for the doc parser
parents d53cc13e 98444536
...@@ -29,6 +29,14 @@ ...@@ -29,6 +29,14 @@
# include <inttypes.h> # include <inttypes.h>
#endif #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. */ /** Declare a public function exported for application use. */
#if __GNUC__ >= 4 #if __GNUC__ >= 4
# define GIT_EXTERN(type) extern \ # define GIT_EXTERN(type) extern \
......
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