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

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

Issue 370853002: pdfium: Fix all -Wdelete-non-virtual-dtor violations on Mac. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: rebase Created 6 years, 5 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/fpdfapi/fpdf_parser.h ('k') | core/include/fxge/fx_font.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_SYSTEM_H_ 7 #ifndef _FX_SYSTEM_H_
8 #define _FX_SYSTEM_H_ 8 #define _FX_SYSTEM_H_
9 #define _FX_WIN32_DESKTOP_ 1 9 #define _FX_WIN32_DESKTOP_ 1
10 #define _FX_LINUX_DESKTOP_ 4 10 #define _FX_LINUX_DESKTOP_ 4
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 FX_INT64 FXSYS_wtoi64(FX_LPCWSTR str); 268 FX_INT64 FXSYS_wtoi64(FX_LPCWSTR str);
269 FX_LPCSTR FXSYS_i64toa(FX_INT64 value, FX_LPSTR str, int radix); 269 FX_LPCSTR FXSYS_i64toa(FX_INT64 value, FX_LPSTR str, int radix);
270 FX_LPCWSTR FXSYS_i64tow(FX_INT64 value, FX_LPWSTR str, int radix); 270 FX_LPCWSTR FXSYS_i64tow(FX_INT64 value, FX_LPWSTR str, int radix);
271 int FXSYS_round(FX_FLOAT f); 271 int FXSYS_round(FX_FLOAT f);
272 #define FXSYS_Mul(a, b) ((a) * (b)) 272 #define FXSYS_Mul(a, b) ((a) * (b))
273 #define FXSYS_Div(a, b) ((a) / (b)) 273 #define FXSYS_Div(a, b) ((a) / (b))
274 #define FXSYS_MulDiv(a, b, c) ((a) * (b) / (c)) 274 #define FXSYS_MulDiv(a, b, c) ((a) * (b) / (c))
275 #define FXSYS_sqrt2(a, b) (FX_FLOAT)FXSYS_sqrt((a)*(a) + (b)*(b)) 275 #define FXSYS_sqrt2(a, b) (FX_FLOAT)FXSYS_sqrt((a)*(a) + (b)*(b))
276 #ifdef __cplusplus 276 #ifdef __cplusplus
277 }; 277 };
278
279 #if defined(__clang__) || defined(_MSC_VER)
280 #define FX_FINAL final
281 #elif defined(__GNUC__) && __cplusplus >= 201103 && \
282 (__GNUC__ * 10000 + __GNUC_MINOR__ * 100) >= 40700
283 #define FX_FINAL final
284 #else
285 #define FX_FINAL
278 #endif 286 #endif
279 #endif 287 #endif
288 #endif
OLDNEW
« no previous file with comments | « core/include/fpdfapi/fpdf_parser.h ('k') | core/include/fxge/fx_font.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698