Module: wine Branch: master Commit: 37978baa4a61f0339caadd739712e230f2a861b6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=37978baa4a61f0339caadd7397...
Author: Francois Gouget fgouget@codeweavers.com Date: Tue May 24 13:09:59 2011 +0200
include: Add a set of parameter documentation macros to help compile windows applications.
---
include/dbghelp.h | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++ include/imagehlp.h | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 120 insertions(+), 0 deletions(-)
diff --git a/include/dbghelp.h b/include/dbghelp.h index 34805f4..483ef29 100644 --- a/include/dbghelp.h +++ b/include/dbghelp.h @@ -21,6 +21,66 @@ #ifndef __WINE_DBGHELP_H #define __WINE_DBGHELP_H
+/* A set of documentation macros (see also imagehlp.h) */ +#ifndef __deref_out +# define __deref_out +#endif +#ifndef __deref_out_opt +# define __deref_out_opt +#endif +#ifndef __deref_opt_out +# define __deref_opt_out +#endif +#ifndef __in +# define __in +#endif +#ifndef __in_opt +# define __in_opt +#endif +#ifndef __in_bcount +# define __in_bcount(x) +#endif +#ifndef __in_bcount_opt +# define __in_bcount_opt(x) +#endif +#ifndef __in_ecount +# define __in_ecount(x) +#endif +#ifndef __inout +# define __inout +#endif +#ifndef __inout_opt +# define __inout_opt +#endif +#ifndef __inout_bcount +# define __inout_bcount(x) +#endif +#ifndef __inout_ecount +# define __inout_ecount(x) +#endif +#ifndef __out +# define __out +#endif +#ifndef __out_opt +# define __out_opt +#endif +#ifndef __out_bcount +# define __out_bcount(x) +#endif +#ifndef __out_bcount_opt +# define __out_bcount_opt(x) +#endif +#ifndef __out_ecount +# define __out_ecount(x) +#endif +#ifndef __out_ecount_opt +# define __out_ecount_opt(x) +#endif +#ifndef __out_xcount +# define __out_xcount(x) +#endif + + #ifdef __cplusplus extern "C" { #endif /* defined(__cplusplus) */ diff --git a/include/imagehlp.h b/include/imagehlp.h index f72f1ce..8c8250d 100644 --- a/include/imagehlp.h +++ b/include/imagehlp.h @@ -23,6 +23,66 @@
#include <wintrust.h>
+/* A set of documentation macros (see also dbghelp.h) */ +#ifndef __deref_out +# define __deref_out +#endif +#ifndef __deref_out_opt +# define __deref_out_opt +#endif +#ifndef __deref_opt_out +# define __deref_opt_out +#endif +#ifndef __in +# define __in +#endif +#ifndef __in_opt +# define __in_opt +#endif +#ifndef __in_bcount +# define __in_bcount(x) +#endif +#ifndef __in_bcount_opt +# define __in_bcount_opt(x) +#endif +#ifndef __in_ecount +# define __in_ecount(x) +#endif +#ifndef __inout +# define __inout +#endif +#ifndef __inout_opt +# define __inout_opt +#endif +#ifndef __inout_bcount +# define __inout_bcount(x) +#endif +#ifndef __inout_ecount +# define __inout_ecount(x) +#endif +#ifndef __out +# define __out +#endif +#ifndef __out_opt +# define __out_opt +#endif +#ifndef __out_bcount +# define __out_bcount(x) +#endif +#ifndef __out_bcount_opt +# define __out_bcount_opt(x) +#endif +#ifndef __out_ecount +# define __out_ecount(x) +#endif +#ifndef __out_ecount_opt +# define __out_ecount_opt(x) +#endif +#ifndef __out_xcount +# define __out_xcount(x) +#endif + + #ifdef __cplusplus extern "C" { #endif /* defined(__cplusplus) */