OSDN Git Service

* NEWS: Add and adjust release notes for 4.0.
[mingw/mingw-org-wsl.git] / include / specstrings.h
1 /**
2  * @file specstrings.h
3  * Copyright 2012, 2013 MinGW.org project
4  *
5  * Permission is hereby granted, free of charge, to any person obtaining a
6  * copy of this software and associated documentation files (the "Software"),
7  * to deal in the Software without restriction, including without limitation
8  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9  * and/or sell copies of the Software, and to permit persons to whom the
10  * Software is furnished to do so, subject to the following conditions:
11  * 
12  * The above copyright notice and this permission notice (including the next
13  * paragraph) shall be included in all copies or substantial portions of the
14  * Software.
15  * 
16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22  * DEALINGS IN THE SOFTWARE.
23  */
24 #ifndef _SPECSTRINGS_H
25 #define _SPECSTRINGS_H
26 #pragma GCC system_header
27 #include <_mingw.h>
28
29 /* These are built from primitives in Microsoft's Standard Annotation Language.
30    Search for "Header Annotation" on MSDN site for their MS-specific meanings */
31
32 /* __in and __out currently conflict with libstdc++, use with caution */
33
34
35 #define __bcount(size)
36 #define __bcount_opt(size)
37 #define __deref_bcount(size)
38 #define __deref_bcount_opt(size)
39 #define __deref_ecount(size)
40 #define __deref_ecount_opt(size)
41 #define __deref_in
42 #define __deref_in_bcount(size)
43 #define __deref_in_bcount_opt(size)
44 #define __deref_in_ecount(size)
45 #define __deref_in_ecount_opt(size)
46 #define __deref_in_opt
47 #define __deref_inout
48 #define __deref_inout_bcount(size)
49 #define __deref_inout_bcount_full(size)
50 #define __deref_inout_bcount_full_opt(size)
51 #define __deref_inout_bcount_opt(size)
52 #define __deref_inout_bcount_part(size,length)
53 #define __deref_inout_bcount_part_opt(size,length)
54 #define __deref_inout_ecount(size)
55 #define __deref_inout_ecount_full(size)
56 #define __deref_inout_ecount_full_opt(size)
57 #define __deref_inout_ecount_opt(size)
58 #define __deref_inout_ecount_part(size,length)
59 #define __deref_inout_ecount_part_opt(size,length)
60 #define __deref_inout_opt
61 #define __deref_opt_bcount(size)
62 #define __deref_opt_bcount_opt(size)
63 #define __deref_opt_ecount(size)
64 #define __deref_opt_ecount_opt(size)
65 #define __deref_opt_in
66 #define __deref_opt_in_bcount(size)
67 #define __deref_opt_in_bcount_opt(size)
68 #define __deref_opt_in_ecount(size)
69 #define __deref_opt_in_ecount_opt(size)
70 #define __deref_opt_in_opt
71 #define __deref_opt_inout
72 #define __deref_opt_inout_bcount(size)
73 #define __deref_opt_inout_bcount_full(size)
74 #define __deref_opt_inout_bcount_full_opt(size)
75 #define __deref_opt_inout_bcount_opt(size)
76 #define __deref_opt_inout_bcount_part(size,length)
77 #define __deref_opt_inout_bcount_part_opt(size,length)
78 #define __deref_opt_inout_ecount(size)
79 #define __deref_opt_inout_ecount_full(size)
80 #define __deref_opt_inout_ecount_full_opt(size)
81 #define __deref_opt_inout_ecount_opt(size)
82 #define __deref_opt_inout_ecount_part(size,length)
83 #define __deref_opt_inout_ecount_part_opt(size,length)
84 #define __deref_opt_inout_opt
85 #define __deref_opt_out
86 #define __deref_opt_out_bcount(size)
87 #define __deref_opt_out_bcount_full(size)
88 #define __deref_opt_out_bcount_full_opt(size)
89 #define __deref_opt_out_bcount_opt(size)
90 #define __deref_opt_out_bcount_part(size,length)
91 #define __deref_opt_out_bcount_part_opt(size,length)
92 #define __deref_opt_out_ecount(size)
93 #define __deref_opt_out_ecount_full(size)
94 #define __deref_opt_out_ecount_full_opt(size)
95 #define __deref_opt_out_ecount_opt(size)
96 #define __deref_opt_out_ecount_part(size,length)
97 #define __deref_opt_out_ecount_part_opt(size,length)
98 #define __deref_opt_out_opt
99 #define __deref_out
100 #define __deref_out_bcount(size)
101 #define __deref_out_bcount_full(size)
102 #define __deref_out_bcount_full_opt(size)
103 #define __deref_out_bcount_opt(size)
104 #define __deref_out_bcount_part(size,length)
105 #define __deref_out_bcount_part_opt(size,length)
106 #define __deref_out_ecount(size)
107 #define __deref_out_ecount_full(size)
108 #define __deref_out_ecount_full_opt(size)
109 #define __deref_out_ecount_opt(size)
110 #define __deref_out_ecount_part(size,length)
111 #define __deref_out_ecount_part_opt(size,length)
112 #define __deref_out_opt
113 #define __ecount(size)
114 #define __ecount_opt(size)
115 #define __in
116 #define __in_bcount(size)
117 #define __in_bcount_opt(size)
118 #define __in_ecount(size)
119 #define __in_ecount_opt(size)
120 #define __in_opt
121 #define __inout
122 #define __inout_bcount(size)
123 #define __inout_bcount_full(size)
124 #define __inout_bcount_full_opt(size)
125 #define __inout_bcount_opt(size)
126 #define __inout_bcount_part(size,length)
127 #define __inout_bcount_part_opt(size,length)
128 #define __inout_ecount(size)
129 #define __inout_ecount_full(size)
130 #define __inout_ecount_full_opt(size)
131 #define __inout_ecount_opt(size)
132 #define __inout_ecount_part(size,length)
133 #define __inout_ecount_part_opt(size,length)
134 #define __inout_opt
135 #define __out
136 #define __out_bcount(size)
137 #define __out_bcount_full(size)
138 #define __out_bcount_full_opt(size)
139 #define __out_bcount_opt(size)
140 #define __out_bcount_part(size,length)
141 #define __out_bcount_part_opt(size,length)
142 #define __out_ecount(size)
143 #define __out_ecount_full(size)
144 #define __out_ecount_full_opt(size)
145 #define __out_ecount_opt(size)
146 #define __out_ecount_part(size,length)
147 #define __out_ecount_part_opt(size,length)
148 #define __out_opt 
149
150 #endif /*_SPECSTRINGS_H */