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

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

Issue 1707923002: Expand all paths to be based off pdfium/ directory (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 10 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
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 CORE_INCLUDE_FXCRT_FX_BASIC_H_ 7 #ifndef CORE_INCLUDE_FXCRT_FX_BASIC_H_
8 #define CORE_INCLUDE_FXCRT_FX_BASIC_H_ 8 #define CORE_INCLUDE_FXCRT_FX_BASIC_H_
9 9
10 #include <algorithm> 10 #include <algorithm>
11 11
12 #include "fx_memory.h" 12 #include "core/include/fxcrt/fx_memory.h"
13 #include "fx_stream.h" 13 #include "core/include/fxcrt/fx_stream.h"
14 #include "fx_string.h" 14 #include "core/include/fxcrt/fx_string.h"
15 #include "fx_system.h" 15 #include "core/include/fxcrt/fx_system.h"
16 16
17 // The FX_ArraySize(arr) macro returns the # of elements in an array arr. 17 // The FX_ArraySize(arr) macro returns the # of elements in an array arr.
18 // The expression is a compile-time constant, and therefore can be 18 // The expression is a compile-time constant, and therefore can be
19 // used in defining new arrays, for example. If you use FX_ArraySize on 19 // used in defining new arrays, for example. If you use FX_ArraySize on
20 // a pointer by mistake, you will get a compile-time error. 20 // a pointer by mistake, you will get a compile-time error.
21 // 21 //
22 // One caveat is that FX_ArraySize() doesn't accept any array of an 22 // One caveat is that FX_ArraySize() doesn't accept any array of an
23 // anonymous type or a type defined inside a function. 23 // anonymous type or a type defined inside a function.
24 #define FX_ArraySize(array) (sizeof(ArraySizeHelper(array))) 24 #define FX_ArraySize(array) (sizeof(ArraySizeHelper(array)))
25 25
(...skipping 1193 matching lines...) Expand 10 before | Expand all | Expand 10 after
1219 FX_FLOAT c; 1219 FX_FLOAT c;
1220 FX_FLOAT d; 1220 FX_FLOAT d;
1221 FX_FLOAT e; 1221 FX_FLOAT e;
1222 FX_FLOAT f; 1222 FX_FLOAT f;
1223 FX_FLOAT g; 1223 FX_FLOAT g;
1224 FX_FLOAT h; 1224 FX_FLOAT h;
1225 FX_FLOAT i; 1225 FX_FLOAT i;
1226 }; 1226 };
1227 1227
1228 #endif // CORE_INCLUDE_FXCRT_FX_BASIC_H_ 1228 #endif // CORE_INCLUDE_FXCRT_FX_BASIC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698