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

Side by Side Diff: xfa/src/fxjse/src/value.cpp

Issue 1746053003: Remove foxitlib.h and foxitxfa.h and IWYU. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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
« xfa/src/fxgraphics/src/pre.h ('K') | « xfa/src/fxjse/src/runtime.cpp ('k') | no next file » | 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 #include "xfa/src/fxjse/src/value.h"
8
7 #include <math.h> 9 #include <math.h>
8 10
9 #include "xfa/src/foxitlib.h"
10 #include "xfa/src/fxjse/src/class.h" 11 #include "xfa/src/fxjse/src/class.h"
11 #include "xfa/src/fxjse/src/util_inline.h" 12 #include "xfa/src/fxjse/src/util_inline.h"
12 #include "xfa/src/fxjse/src/value.h"
13 13
14 FX_BOOL FXJSE_Value_IsUndefined(FXJSE_HVALUE hValue) { 14 FX_BOOL FXJSE_Value_IsUndefined(FXJSE_HVALUE hValue) {
15 CFXJSE_Value* lpValue = reinterpret_cast<CFXJSE_Value*>(hValue); 15 CFXJSE_Value* lpValue = reinterpret_cast<CFXJSE_Value*>(hValue);
16 return lpValue && lpValue->IsUndefined(); 16 return lpValue && lpValue->IsUndefined();
17 } 17 }
18 18
19 FX_BOOL FXJSE_Value_IsNull(FXJSE_HVALUE hValue) { 19 FX_BOOL FXJSE_Value_IsNull(FXJSE_HVALUE hValue) {
20 CFXJSE_Value* lpValue = reinterpret_cast<CFXJSE_Value*>(hValue); 20 CFXJSE_Value* lpValue = reinterpret_cast<CFXJSE_Value*>(hValue);
21 return lpValue && lpValue->IsNull(); 21 return lpValue && lpValue->IsNull();
22 } 22 }
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 if (lpRetValue) 563 if (lpRetValue)
564 lpRetValue->ForceSetValue(hReturnValue); 564 lpRetValue->ForceSetValue(hReturnValue);
565 565
566 if (lpLocalArgs) { 566 if (lpLocalArgs) {
567 for (uint32_t i = 0; i < nArgCount; i++) 567 for (uint32_t i = 0; i < nArgCount; i++)
568 lpLocalArgs[i].~Local(); 568 lpLocalArgs[i].~Local();
569 FX_Free(lpLocalArgs); 569 FX_Free(lpLocalArgs);
570 } 570 }
571 return bRetValue; 571 return bRetValue;
572 } 572 }
OLDNEW
« xfa/src/fxgraphics/src/pre.h ('K') | « xfa/src/fxjse/src/runtime.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698