diff options
author | Brandon Sneed <nivenh@sourceware.org> | 2008-01-30 12:18:22 +0300 |
---|---|---|
committer | Brandon Sneed <nivenh@sourceware.org> | 2008-01-30 12:18:22 +0300 |
commit | 051085cfd4b4d4003511097a53a54dc0bc71efe7 (patch) | |
tree | 1fcec15ac76b390db73c462fc3b175a9a915c238 /winsup/w32api | |
parent | 2815ad8faf8b378807ba15bf559e3a16b744026b (diff) |
2008-01-30 Brandon Sneed <nivenh@sourceware.org>
* include/windef.h (__in, __inout, __in_opt, __in_bcound, __in_ecount,
__out, __out_ecount_part, __struct_bcount, __field_ecount_opt,
__out_bcount_opt): Defined additional pseudo-modifiers.
Diffstat (limited to 'winsup/w32api')
-rw-r--r-- | winsup/w32api/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/w32api/include/windef.h | 11 |
2 files changed, 17 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 8e71fb154..2169c7296 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,9 @@ +2008-01-30 Brandon Sneed <nivenh@sourceware.org> + + * include/windef.h (__in, __inout, __in_opt, __in_bcound, __in_ecount, + __out, __out_ecount_part, __struct_bcount, __field_ecount_opt, + __out_bcount_opt): Defined additional pseudo-modifiers. + 2008-01-29 Brandon Sneed <nivenh@sourceware.org> * include/ras.h (RAS_MaxDnsSuffix): corrected typo, was RAX_MaxDnsSuffix. (RASENTRYA, RASENTRYW): Added members (dwfOptions2, dwfOptions3, szDnsSuffix, diff --git a/winsup/w32api/include/windef.h b/winsup/w32api/include/windef.h index 3fd01c5bb..5dd04013c 100644 --- a/winsup/w32api/include/windef.h +++ b/winsup/w32api/include/windef.h @@ -62,6 +62,17 @@ extern "C" { #ifndef _NO_W32_PSEUDO_MODIFIERS #define IN #define OUT +#define __in +#define __inout +#define __in_opt +#define __in_bcount(x) +#define __in_ecount(x) +#define __out +#define __out_ecount_part(x) +#define __out_ecount_part(x,y) +#define __struct_bcount(x) +#define __field_ecount_opt(x) +#define __out_bcount_opt(x) #ifndef OPTIONAL #define OPTIONAL #endif |