* include/specstrings.h: new file, move pseudo modifiers from windef.h. * include/windef.h (__in, __inout, __in_opt, __in_bcound, __in_ecount, __out, __out_ecount_part, __struct_bcount, __field_ecount_opt, __out_bcount_opt): Move to specstrings.h.
28 lines
522 B
C
28 lines
522 B
C
#ifndef _SPECSTRINGS_H
|
|
#define _SPECSTRINGS_H
|
|
#if __GNUC__ >=3
|
|
#pragma GCC system_header
|
|
#endif
|
|
|
|
/* __in and __out currently conflict with libstdc++, use with caution */
|
|
|
|
#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
|
|
|
|
#endif
|
|
|