summaryrefslogtreecommitdiff
path: root/xfa/src/fdp/include/fde_mem.h
blob: d16bb53d26b3ed776a294c4bf5d1511eaf83f6eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com

#ifndef _FDE_MEM
#define _FDE_MEM

#include "../../../../core/include/fxcrt/fx_memory.h"

#ifdef __cplusplus
extern "C" {
#endif
#define FDE_Alloc(size) FX_Alloc(uint8_t, size)
#define FDE_Realloc(ptr, newSize) FX_Realloc(uint8_t, ptr, newSize)
#define FDE_Free(ptr) FX_Free(ptr)
#ifdef __cplusplus
}
#define FDE_NewWith FXTARGET_NewWith
#define FDE_DeleteWith FXTARGET_DeleteWith
#endif
#endif