| OLD | NEW |
| 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 |
| OLD | NEW |