Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(272)

Side by Side Diff: core/include/fxcrt/fx_basic.h

Issue 1062843003: Merge to XFA: Fix IWYU in fxcrt headers. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/include/fxcrt/fx_arb.h ('k') | core/include/fxcrt/fx_coordinates.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef _FX_BASIC_H_ 7 #ifndef _FX_BASIC_H_
8 #define _FX_BASIC_H_ 8 #define _FX_BASIC_H_
9 #ifndef _FX_SYSTEM_H_ 9
10 #include "fx_memory.h"
11 #include "fx_stream.h"
12 #include "fx_string.h"
10 #include "fx_system.h" 13 #include "fx_system.h"
11 #endif
12 #ifndef _FX_MEMORY_H_
13 #include "fx_memory.h"
14 #endif
15 #ifndef _FX_STRING_H_
16 #include "fx_string.h"
17 #endif
18 #ifndef _FX_STREAM_H_
19 #include "fx_stream.h"
20 #endif
21 14
22 // The FX_ArraySize(arr) macro returns the # of elements in an array arr. 15 // The FX_ArraySize(arr) macro returns the # of elements in an array arr.
23 // The expression is a compile-time constant, and therefore can be 16 // The expression is a compile-time constant, and therefore can be
24 // used in defining new arrays, for example. If you use FX_ArraySize on 17 // used in defining new arrays, for example. If you use FX_ArraySize on
25 // a pointer by mistake, you will get a compile-time error. 18 // a pointer by mistake, you will get a compile-time error.
26 // 19 //
27 // One caveat is that FX_ArraySize() doesn't accept any array of an 20 // One caveat is that FX_ArraySize() doesn't accept any array of an
28 // anonymous type or a type defined inside a function. 21 // anonymous type or a type defined inside a function.
29 #define FX_ArraySize(array) (sizeof(ArraySizeHelper(array))) 22 #define FX_ArraySize(array) (sizeof(ArraySizeHelper(array)))
30 23
(...skipping 1625 matching lines...) Expand 10 before | Expand all | Expand 10 after
1656 FX_FLOAT c; 1649 FX_FLOAT c;
1657 FX_FLOAT d; 1650 FX_FLOAT d;
1658 FX_FLOAT e; 1651 FX_FLOAT e;
1659 FX_FLOAT f; 1652 FX_FLOAT f;
1660 FX_FLOAT g; 1653 FX_FLOAT g;
1661 FX_FLOAT h; 1654 FX_FLOAT h;
1662 FX_FLOAT i; 1655 FX_FLOAT i;
1663 }; 1656 };
1664 1657
1665 #endif 1658 #endif
OLDNEW
« no previous file with comments | « core/include/fxcrt/fx_arb.h ('k') | core/include/fxcrt/fx_coordinates.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698