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

Side by Side Diff: core/src/fxcodec/jbig2/JBig2_Module.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 | « core/src/fxcodec/jbig2/JBig2_List.h ('k') | core/src/fxcodec/jbig2/JBig2_Object.cpp » ('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 _JBIG2_MODULE_H_ 7 #ifndef _JBIG2_MODULE_H_
8 #define _JBIG2_MODULE_H_ 8 #define _JBIG2_MODULE_H_
9 #include "JBig2_Define.h" 9 #include "JBig2_Define.h"
10 class CJBig2_Module 10 class CJBig2_Module
11 { 11 {
12 public: 12 public:
13 virtual ~CJBig2_Module() { } 13 virtual ~CJBig2_Module() { }
14 14
15 virtual void *JBig2_Malloc(FX_DWORD dwSize) = 0; 15 virtual void *JBig2_Malloc(FX_DWORD dwSize) = 0;
16 16
17 virtual void *JBig2_Malloc2(FX_DWORD num, FX_DWORD dwSize) = 0; 17 virtual void *JBig2_Malloc2(FX_DWORD num, FX_DWORD dwSize) = 0;
18 18
19 virtual void *JBig2_Malloc3(FX_DWORD num, FX_DWORD dwSize, FX_DWORD dwSize2) = 0; 19 virtual void *JBig2_Malloc3(FX_DWORD num, FX_DWORD dwSize, FX_DWORD dwSize2) = 0;
20 20
21 virtual void *JBig2_Realloc(FX_LPVOID pMem, FX_DWORD dwSize) = 0; 21 virtual void *JBig2_Realloc(FX_LPVOID pMem, FX_DWORD dwSize) = 0;
22 22
23 virtual void JBig2_Free(FX_LPVOID pMem) = 0; 23 virtual void JBig2_Free(FX_LPVOID pMem) = 0;
24 24
25 virtual void JBig2_Assert(FX_INT32 nExpression) {}; 25 virtual void JBig2_Assert(int32_t nExpression) {};
26 26
27 virtual void JBig2_Error(FX_LPCSTR format, ...) {}; 27 virtual void JBig2_Error(FX_LPCSTR format, ...) {};
28 28
29 virtual void JBig2_Warn(FX_LPCSTR format, ...) {}; 29 virtual void JBig2_Warn(FX_LPCSTR format, ...) {};
30 30
31 virtual void JBig2_Log(FX_LPCSTR format, ...) {}; 31 virtual void JBig2_Log(FX_LPCSTR format, ...) {};
32 }; 32 };
33 #endif 33 #endif
OLDNEW
« no previous file with comments | « core/src/fxcodec/jbig2/JBig2_List.h ('k') | core/src/fxcodec/jbig2/JBig2_Object.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698