Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/coreapi/qsggeometry.h |
Switch to Source code | Preprocessed file |
Line | Source | Count | ||||||
---|---|---|---|---|---|---|---|---|
1 | - | |||||||
2 | - | |||||||
3 | - | |||||||
4 | class QSGGeometryData; | - | ||||||
5 | - | |||||||
6 | class __attribute__((visibility("default"))) QSGGeometry | - | ||||||
7 | { | - | ||||||
8 | public: | - | ||||||
9 | enum AttributeType { | - | ||||||
10 | UnknownAttribute, | - | ||||||
11 | PositionAttribute, | - | ||||||
12 | ColorAttribute, | - | ||||||
13 | TexCoordAttribute, | - | ||||||
14 | TexCoord1Attribute, | - | ||||||
15 | TexCoord2Attribute | - | ||||||
16 | }; | - | ||||||
17 | - | |||||||
18 | enum DataPattern { | - | ||||||
19 | AlwaysUploadPattern = 0, | - | ||||||
20 | StreamPattern = 1, | - | ||||||
21 | DynamicPattern = 2, | - | ||||||
22 | StaticPattern = 3 | - | ||||||
23 | }; | - | ||||||
24 | - | |||||||
25 | - | |||||||
26 | - | |||||||
27 | enum DrawingMode { | - | ||||||
28 | DrawPoints = 0x0000, | - | ||||||
29 | DrawLines = 0x0001, | - | ||||||
30 | DrawLineLoop = 0x0002, | - | ||||||
31 | DrawLineStrip = 0x0003, | - | ||||||
32 | DrawTriangles = 0x0004, | - | ||||||
33 | DrawTriangleStrip = 0x0005, | - | ||||||
34 | DrawTriangleFan = 0x0006 | - | ||||||
35 | }; | - | ||||||
36 | - | |||||||
37 | - | |||||||
38 | - | |||||||
39 | enum Type { | - | ||||||
40 | ByteType = 0x1400, | - | ||||||
41 | UnsignedByteType = 0x1401, | - | ||||||
42 | ShortType = 0x1402, | - | ||||||
43 | UnsignedShortType = 0x1403, | - | ||||||
44 | IntType = 0x1404, | - | ||||||
45 | UnsignedIntType = 0x1405, | - | ||||||
46 | FloatType = 0x1406 | - | ||||||
47 | }; | - | ||||||
48 | - | |||||||
49 | struct __attribute__((visibility("default"))) Attribute | - | ||||||
50 | { | - | ||||||
51 | int position; | - | ||||||
52 | int tupleSize; | - | ||||||
53 | int type; | - | ||||||
54 | - | |||||||
55 | uint isVertexCoordinate : 1; | - | ||||||
56 | - | |||||||
57 | AttributeType attributeType : 4; | - | ||||||
58 | - | |||||||
59 | uint reserved : 27; | - | ||||||
60 | - | |||||||
61 | static Attribute create(int pos, int tupleSize, int primitiveType, bool isPosition = false); | - | ||||||
62 | static Attribute createWithAttributeType(int pos, int tupleSize, int primitiveType, AttributeType attributeType); | - | ||||||
63 | }; | - | ||||||
64 | - | |||||||
65 | struct AttributeSet { | - | ||||||
66 | int count; | - | ||||||
67 | int stride; | - | ||||||
68 | const Attribute *attributes; | - | ||||||
69 | }; | - | ||||||
70 | - | |||||||
71 | struct Point2D { | - | ||||||
72 | float x, y; | - | ||||||
73 | void set(float nx, float ny) { | - | ||||||
74 | x = nx; y = ny; | - | ||||||
75 | } executed 140 times by 1 test: end of block Executed by:
| 140 | ||||||
76 | }; | - | ||||||
77 | struct TexturedPoint2D { | - | ||||||
78 | float x, y; | - | ||||||
79 | float tx, ty; | - | ||||||
80 | void set(float nx, float ny, float ntx, float nty) { | - | ||||||
81 | x = nx; y = ny; tx = ntx; ty = nty; | - | ||||||
82 | } executed 4993244 times by 26 tests: end of block Executed by:
| 4993244 | ||||||
83 | }; | - | ||||||
84 | struct ColoredPoint2D { | - | ||||||
85 | float x, y; | - | ||||||
86 | unsigned char r, g, b, a; | - | ||||||
87 | void set(float nx, float ny, uchar nr, uchar ng, uchar nb, uchar na) { | - | ||||||
88 | x = nx; y = ny; | - | ||||||
89 | r = nr; g = ng, b = nb; a = na; | - | ||||||
90 | } never executed: end of block | 0 | ||||||
91 | }; | - | ||||||
92 | - | |||||||
93 | static const AttributeSet &defaultAttributes_Point2D(); | - | ||||||
94 | static const AttributeSet &defaultAttributes_TexturedPoint2D(); | - | ||||||
95 | static const AttributeSet &defaultAttributes_ColoredPoint2D(); | - | ||||||
96 | - | |||||||
97 | QSGGeometry(const QSGGeometry::AttributeSet &attribs, | - | ||||||
98 | int vertexCount, | - | ||||||
99 | int indexCount = 0, | - | ||||||
100 | int indexType = UnsignedShortType); | - | ||||||
101 | virtual ~QSGGeometry(); | - | ||||||
102 | - | |||||||
103 | - | |||||||
104 | void setDrawingMode(unsigned int mode); | - | ||||||
105 | inline unsigned int drawingMode() const { return executed 14752889 times by 71 tests: m_drawing_mode;return m_drawing_mode; Executed by:
executed 14752889 times by 71 tests: }return m_drawing_mode; Executed by:
| 14752889 | ||||||
106 | - | |||||||
107 | void allocate(int vertexCount, int indexCount = 0); | - | ||||||
108 | - | |||||||
109 | int vertexCount() const { return executed 20091437 times by 72 tests: m_vertex_count;return m_vertex_count; Executed by:
executed 20091437 times by 72 tests: }return m_vertex_count; Executed by:
| 20091437 | ||||||
110 | - | |||||||
111 | void *vertexData() { return executed 3034806 times by 72 tests: m_data;return m_data; Executed by:
executed 3034806 times by 72 tests: }return m_data; Executed by:
| 3034806 | ||||||
112 | inline Point2D *vertexDataAsPoint2D(); | - | ||||||
113 | inline TexturedPoint2D *vertexDataAsTexturedPoint2D(); | - | ||||||
114 | inline ColoredPoint2D *vertexDataAsColoredPoint2D(); | - | ||||||
115 | - | |||||||
116 | inline const void *vertexData() const { return executed 16 times by 1 test: m_data;return m_data; Executed by:
executed 16 times by 1 test: }return m_data; Executed by:
| 16 | ||||||
117 | inline const Point2D *vertexDataAsPoint2D() const; | - | ||||||
118 | inline const TexturedPoint2D *vertexDataAsTexturedPoint2D() const; | - | ||||||
119 | inline const ColoredPoint2D *vertexDataAsColoredPoint2D() const; | - | ||||||
120 | - | |||||||
121 | inline int indexType() const { return executed 324916 times by 71 tests: m_index_type;return m_index_type; Executed by:
executed 324916 times by 71 tests: }return m_index_type; Executed by:
| 324916 | ||||||
122 | - | |||||||
123 | int indexCount() const { return executed 2884301 times by 72 tests: m_index_count;return m_index_count; Executed by:
executed 2884301 times by 72 tests: }return m_index_count; Executed by:
| 2884301 | ||||||
124 | - | |||||||
125 | void *indexData(); | - | ||||||
126 | inline uint *indexDataAsUInt(); | - | ||||||
127 | inline quint16 *indexDataAsUShort(); | - | ||||||
128 | - | |||||||
129 | inline int sizeOfIndex() const; | - | ||||||
130 | - | |||||||
131 | const void *indexData() const; | - | ||||||
132 | inline const uint *indexDataAsUInt() const; | - | ||||||
133 | inline const quint16 *indexDataAsUShort() const; | - | ||||||
134 | - | |||||||
135 | inline int attributeCount() const { return executed 534272 times by 72 tests: m_attributes.count;return m_attributes.count; Executed by:
executed 534272 times by 72 tests: }return m_attributes.count; Executed by:
| 534272 | ||||||
136 | inline const Attribute *attributes() const { return executed 6866604 times by 71 tests: m_attributes.attributes;return m_attributes.attributes; Executed by:
executed 6866604 times by 71 tests: }return m_attributes.attributes; Executed by:
| 6866604 | ||||||
137 | inline int sizeOfVertex() const { return executed 13134025 times by 72 tests: m_attributes.stride;return m_attributes.stride; Executed by:
executed 13134025 times by 72 tests: }return m_attributes.stride; Executed by:
| 13134025 | ||||||
138 | - | |||||||
139 | static void updateRectGeometry(QSGGeometry *g, const QRectF &rect); | - | ||||||
140 | static void updateTexturedRectGeometry(QSGGeometry *g, const QRectF &rect, const QRectF &sourceRect); | - | ||||||
141 | static void updateColoredRectGeometry(QSGGeometry *g, const QRectF &rect); | - | ||||||
142 | - | |||||||
143 | void setIndexDataPattern(DataPattern p); | - | ||||||
144 | DataPattern indexDataPattern() const { return never executed: DataPattern(m_index_usage_pattern);return DataPattern(m_index_usage_pattern); never executed: }return DataPattern(m_index_usage_pattern); | 0 | ||||||
145 | - | |||||||
146 | void setVertexDataPattern(DataPattern p); | - | ||||||
147 | DataPattern vertexDataPattern() const { return never executed: DataPattern(m_vertex_usage_pattern);return DataPattern(m_vertex_usage_pattern); never executed: }return DataPattern(m_vertex_usage_pattern); | 0 | ||||||
148 | - | |||||||
149 | void markIndexDataDirty(); | - | ||||||
150 | void markVertexDataDirty(); | - | ||||||
151 | - | |||||||
152 | float lineWidth() const; | - | ||||||
153 | void setLineWidth(float w); | - | ||||||
154 | - | |||||||
155 | private: | - | ||||||
156 | friend class QSGGeometryData; | - | ||||||
157 | - | |||||||
158 | int m_drawing_mode; | - | ||||||
159 | int m_vertex_count; | - | ||||||
160 | int m_index_count; | - | ||||||
161 | int m_index_type; | - | ||||||
162 | const AttributeSet &m_attributes; | - | ||||||
163 | void *m_data; | - | ||||||
164 | int m_index_data_offset; | - | ||||||
165 | - | |||||||
166 | QSGGeometryData *m_server_data; | - | ||||||
167 | - | |||||||
168 | uint m_owns_data : 1; | - | ||||||
169 | uint m_index_usage_pattern : 2; | - | ||||||
170 | uint m_vertex_usage_pattern : 2; | - | ||||||
171 | uint m_dirty_index_data : 1; | - | ||||||
172 | uint m_dirty_vertex_data : 1; | - | ||||||
173 | uint m_reserved_bits : 25; | - | ||||||
174 | - | |||||||
175 | float m_prealloc[16]; | - | ||||||
176 | - | |||||||
177 | float m_line_width; | - | ||||||
178 | }; | - | ||||||
179 | - | |||||||
180 | inline uint *QSGGeometry::indexDataAsUInt() | - | ||||||
181 | { | - | ||||||
182 | ((m_index_type == UnsignedIntType) ? static_cast<void>(0) : qt_assert("m_index_type == UnsignedIntType", __FILE__, 227)); | - | ||||||
183 | return never executed: static_cast<uint *>(indexData());return static_cast<uint *>(indexData()); never executed: return static_cast<uint *>(indexData()); | 0 | ||||||
184 | } | - | ||||||
185 | - | |||||||
186 | inline quint16 *QSGGeometry::indexDataAsUShort() | - | ||||||
187 | { | - | ||||||
188 | ((m_index_type == UnsignedShortType) ? static_cast<void>(0) : qt_assert("m_index_type == UnsignedShortType", __FILE__, 233)); | - | ||||||
189 | return executed 1104054 times by 69 tests: static_cast<quint16 *>(indexData());return static_cast<quint16 *>(indexData()); Executed by:
executed 1104054 times by 69 tests: return static_cast<quint16 *>(indexData()); Executed by:
| 1104054 | ||||||
190 | } | - | ||||||
191 | - | |||||||
192 | inline const uint *QSGGeometry::indexDataAsUInt() const | - | ||||||
193 | { | - | ||||||
194 | ((m_index_type == UnsignedIntType) ? static_cast<void>(0) : qt_assert("m_index_type == UnsignedIntType", __FILE__, 239)); | - | ||||||
195 | return never executed: static_cast<const uint *>(indexData());return static_cast<const uint *>(indexData()); never executed: return static_cast<const uint *>(indexData()); | 0 | ||||||
196 | } | - | ||||||
197 | - | |||||||
198 | inline const quint16 *QSGGeometry::indexDataAsUShort() const | - | ||||||
199 | { | - | ||||||
200 | ((m_index_type == UnsignedShortType) ? static_cast<void>(0) : qt_assert("m_index_type == UnsignedShortType", __FILE__, 245)); | - | ||||||
201 | return never executed: static_cast<const quint16 *>(indexData());return static_cast<const quint16 *>(indexData()); never executed: return static_cast<const quint16 *>(indexData()); | 0 | ||||||
202 | } | - | ||||||
203 | - | |||||||
204 | inline QSGGeometry::Point2D *QSGGeometry::vertexDataAsPoint2D() | - | ||||||
205 | { | - | ||||||
206 | ((m_attributes.count == 1) ? static_cast<void>(0) : qt_assert("m_attributes.count == 1", __FILE__, 251)); | - | ||||||
207 | ((m_attributes.stride == 2 * sizeof(float)) ? static_cast<void>(0) : qt_assert("m_attributes.stride == 2 * sizeof(float)", __FILE__, 252)); | - | ||||||
208 | ((m_attributes.attributes[0].tupleSize == 2) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[0].tupleSize == 2", __FILE__, 253)); | - | ||||||
209 | ((m_attributes.attributes[0].type == FloatType) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[0].type == FloatType", __FILE__, 254)); | - | ||||||
210 | ((m_attributes.attributes[0].position == 0) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[0].position == 0", __FILE__, 255)); | - | ||||||
211 | return executed 400650 times by 14 tests: static_cast<Point2D *>(m_data);return static_cast<Point2D *>(m_data); Executed by:
executed 400650 times by 14 tests: return static_cast<Point2D *>(m_data); Executed by:
| 400650 | ||||||
212 | } | - | ||||||
213 | - | |||||||
214 | inline QSGGeometry::TexturedPoint2D *QSGGeometry::vertexDataAsTexturedPoint2D() | - | ||||||
215 | { | - | ||||||
216 | ((m_attributes.count == 2) ? static_cast<void>(0) : qt_assert("m_attributes.count == 2", __FILE__, 261)); | - | ||||||
217 | ((m_attributes.stride == 4 * sizeof(float)) ? static_cast<void>(0) : qt_assert("m_attributes.stride == 4 * sizeof(float)", __FILE__, 262)); | - | ||||||
218 | ((m_attributes.attributes[0].position == 0) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[0].position == 0", __FILE__, 263)); | - | ||||||
219 | ((m_attributes.attributes[0].tupleSize == 2) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[0].tupleSize == 2", __FILE__, 264)); | - | ||||||
220 | ((m_attributes.attributes[0].type == FloatType) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[0].type == FloatType", __FILE__, 265)); | - | ||||||
221 | ((m_attributes.attributes[1].position == 1) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[1].position == 1", __FILE__, 266)); | - | ||||||
222 | ((m_attributes.attributes[1].tupleSize == 2) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[1].tupleSize == 2", __FILE__, 267)); | - | ||||||
223 | ((m_attributes.attributes[1].type == FloatType) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[1].type == FloatType", __FILE__, 268)); | - | ||||||
224 | return executed 246356 times by 36 tests: static_cast<TexturedPoint2D *>(m_data);return static_cast<TexturedPoint2D *>(m_data); Executed by:
executed 246356 times by 36 tests: return static_cast<TexturedPoint2D *>(m_data); Executed by:
| 246356 | ||||||
225 | } | - | ||||||
226 | - | |||||||
227 | inline QSGGeometry::ColoredPoint2D *QSGGeometry::vertexDataAsColoredPoint2D() | - | ||||||
228 | { | - | ||||||
229 | ((m_attributes.count == 2) ? static_cast<void>(0) : qt_assert("m_attributes.count == 2", __FILE__, 274)); | - | ||||||
230 | ((m_attributes.stride == 2 * sizeof(float) + 4 * sizeof(char)) ? static_cast<void>(0) : qt_assert("m_attributes.stride == 2 * sizeof(float) + 4 * sizeof(char)", __FILE__, 275)); | - | ||||||
231 | ((m_attributes.attributes[0].position == 0) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[0].position == 0", __FILE__, 276)); | - | ||||||
232 | ((m_attributes.attributes[0].tupleSize == 2) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[0].tupleSize == 2", __FILE__, 277)); | - | ||||||
233 | ((m_attributes.attributes[0].type == FloatType) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[0].type == FloatType", __FILE__, 278)); | - | ||||||
234 | ((m_attributes.attributes[1].position == 1) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[1].position == 1", __FILE__, 279)); | - | ||||||
235 | ((m_attributes.attributes[1].tupleSize == 4) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[1].tupleSize == 4", __FILE__, 280)); | - | ||||||
236 | ((m_attributes.attributes[1].type == UnsignedByteType) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[1].type == UnsignedByteType", __FILE__, 281)); | - | ||||||
237 | return never executed: static_cast<ColoredPoint2D *>(m_data);return static_cast<ColoredPoint2D *>(m_data); never executed: return static_cast<ColoredPoint2D *>(m_data); | 0 | ||||||
238 | } | - | ||||||
239 | - | |||||||
240 | inline const QSGGeometry::Point2D *QSGGeometry::vertexDataAsPoint2D() const | - | ||||||
241 | { | - | ||||||
242 | ((m_attributes.count == 1) ? static_cast<void>(0) : qt_assert("m_attributes.count == 1", __FILE__, 287)); | - | ||||||
243 | ((m_attributes.stride == 2 * sizeof(float)) ? static_cast<void>(0) : qt_assert("m_attributes.stride == 2 * sizeof(float)", __FILE__, 288)); | - | ||||||
244 | ((m_attributes.attributes[0].tupleSize == 2) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[0].tupleSize == 2", __FILE__, 289)); | - | ||||||
245 | ((m_attributes.attributes[0].type == FloatType) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[0].type == FloatType", __FILE__, 290)); | - | ||||||
246 | ((m_attributes.attributes[0].position == 0) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[0].position == 0", __FILE__, 291)); | - | ||||||
247 | return executed 98 times by 1 test: static_cast<const Point2D *>(m_data);return static_cast<const Point2D *>(m_data); Executed by:
executed 98 times by 1 test: return static_cast<const Point2D *>(m_data); Executed by:
| 98 | ||||||
248 | } | - | ||||||
249 | - | |||||||
250 | inline const QSGGeometry::TexturedPoint2D *QSGGeometry::vertexDataAsTexturedPoint2D() const | - | ||||||
251 | { | - | ||||||
252 | ((m_attributes.count == 2) ? static_cast<void>(0) : qt_assert("m_attributes.count == 2", __FILE__, 297)); | - | ||||||
253 | ((m_attributes.stride == 4 * sizeof(float)) ? static_cast<void>(0) : qt_assert("m_attributes.stride == 4 * sizeof(float)", __FILE__, 298)); | - | ||||||
254 | ((m_attributes.attributes[0].position == 0) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[0].position == 0", __FILE__, 299)); | - | ||||||
255 | ((m_attributes.attributes[0].tupleSize == 2) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[0].tupleSize == 2", __FILE__, 300)); | - | ||||||
256 | ((m_attributes.attributes[0].type == FloatType) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[0].type == FloatType", __FILE__, 301)); | - | ||||||
257 | ((m_attributes.attributes[1].position == 1) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[1].position == 1", __FILE__, 302)); | - | ||||||
258 | ((m_attributes.attributes[1].tupleSize == 2) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[1].tupleSize == 2", __FILE__, 303)); | - | ||||||
259 | ((m_attributes.attributes[1].type == FloatType) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[1].type == FloatType", __FILE__, 304)); | - | ||||||
260 | return never executed: static_cast<const TexturedPoint2D *>(m_data);return static_cast<const TexturedPoint2D *>(m_data); never executed: return static_cast<const TexturedPoint2D *>(m_data); | 0 | ||||||
261 | } | - | ||||||
262 | - | |||||||
263 | inline const QSGGeometry::ColoredPoint2D *QSGGeometry::vertexDataAsColoredPoint2D() const | - | ||||||
264 | { | - | ||||||
265 | ((m_attributes.count == 2) ? static_cast<void>(0) : qt_assert("m_attributes.count == 2", __FILE__, 310)); | - | ||||||
266 | ((m_attributes.stride == 2 * sizeof(float) + 4 * sizeof(char)) ? static_cast<void>(0) : qt_assert("m_attributes.stride == 2 * sizeof(float) + 4 * sizeof(char)", __FILE__, 311)); | - | ||||||
267 | ((m_attributes.attributes[0].position == 0) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[0].position == 0", __FILE__, 312)); | - | ||||||
268 | ((m_attributes.attributes[0].tupleSize == 2) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[0].tupleSize == 2", __FILE__, 313)); | - | ||||||
269 | ((m_attributes.attributes[0].type == FloatType) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[0].type == FloatType", __FILE__, 314)); | - | ||||||
270 | ((m_attributes.attributes[1].position == 1) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[1].position == 1", __FILE__, 315)); | - | ||||||
271 | ((m_attributes.attributes[1].tupleSize == 4) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[1].tupleSize == 4", __FILE__, 316)); | - | ||||||
272 | ((m_attributes.attributes[1].type == UnsignedByteType) ? static_cast<void>(0) : qt_assert("m_attributes.attributes[1].type == UnsignedByteType", __FILE__, 317)); | - | ||||||
273 | return never executed: static_cast<const ColoredPoint2D *>(m_data);return static_cast<const ColoredPoint2D *>(m_data); never executed: return static_cast<const ColoredPoint2D *>(m_data); | 0 | ||||||
274 | } | - | ||||||
275 | - | |||||||
276 | int QSGGeometry::sizeOfIndex() const | - | ||||||
277 | { | - | ||||||
278 | if (m_index_type == UnsignedShortType
executed 14504 times by 29 tests: 2;return 2; Executed by:
executed 14504 times by 29 tests: return 2; Executed by:
| 120-14504 | ||||||
279 | else if (m_index_type == UnsignedByteType
never executed: 1;return 1; never executed: return 1; | 0-120 | ||||||
280 | else if (m_index_type == UnsignedIntType
executed 120 times by 1 test: 4;return 4; Executed by:
executed 120 times by 1 test: return 4; Executed by:
| 0-120 | ||||||
281 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||
282 | } | - | ||||||
283 | - | |||||||
284 | - | |||||||
Switch to Source code | Preprocessed file |