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

Side by Side Diff: xfa/src/fdp/include/fde_mem.h

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 6 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 | « xfa/src/fdp/include/fde_img.h ('k') | xfa/src/fdp/include/fde_pen.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 _FDE_MEM 7 #ifndef _FDE_MEM
8 #define _FDE_MEM 8 #define _FDE_MEM
9 #ifdef __cplusplus 9 #ifdef __cplusplus
10 extern "C" { 10 extern "C" {
11 #endif 11 #endif
12 #define FDE_Alloc(size)»» » » FX_Alloc(FX_BYTE, size) 12 #define FDE_Alloc(size)»» » » FX_Alloc(uint8_t, size)
13 #define FDE_Realloc(ptr, newSize)» FX_Realloc(FX_BYTE, ptr, newSize) 13 #define FDE_Realloc(ptr, newSize)» FX_Realloc(uint8_t, ptr, newSize)
14 #define FDE_Free(ptr) FX_Free(ptr) 14 #define FDE_Free(ptr) FX_Free(ptr)
15 #define FDE_New FXTARGET_New 15 #define FDE_New FXTARGET_New
16 #define FDE_Delete FXTARGET_Delete 16 #define FDE_Delete FXTARGET_Delete
17 #define FDE_NewWith FXTARGET_NewWith 17 #define FDE_NewWith FXTARGET_NewWith
18 #define FDE_DeleteWith FXTARGET_DeleteWith 18 #define FDE_DeleteWith FXTARGET_DeleteWith
19 19
20 #ifdef __cplusplus 20 #ifdef __cplusplus
21 }; 21 };
22 #endif 22 #endif
23 #endif 23 #endif
OLDNEW
« no previous file with comments | « xfa/src/fdp/include/fde_img.h ('k') | xfa/src/fdp/include/fde_pen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698