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

Side by Side Diff: public/fpdfview.h

Issue 2011563006: Remove checks for _WIN32_WCE. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: nit Created 4 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 | « fpdfsdk/include/fsdk_rendercontext.h ('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 // NOTE: External docs refer to this file as "fpdfview.h", so do not rename 7 // NOTE: External docs refer to this file as "fpdfview.h", so do not rename
8 // despite lack of consistency with other public files. 8 // despite lack of consistency with other public files.
9 9
10 #ifndef PUBLIC_FPDFVIEW_H_ 10 #ifndef PUBLIC_FPDFVIEW_H_
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 } FPDF_BSTR; 90 } FPDF_BSTR;
91 #endif // PDF_ENABLE_XFA 91 #endif // PDF_ENABLE_XFA
92 92
93 // For Windows programmers: In most cases it's OK to treat FPDF_WIDESTRING as a 93 // For Windows programmers: In most cases it's OK to treat FPDF_WIDESTRING as a
94 // Windows unicode string, however, special care needs to be taken if you 94 // Windows unicode string, however, special care needs to be taken if you
95 // expect to process Unicode larger than 0xffff. 95 // expect to process Unicode larger than 0xffff.
96 // 96 //
97 // For Linux/Unix programmers: most compiler/library environments use 4 bytes 97 // For Linux/Unix programmers: most compiler/library environments use 4 bytes
98 // for a Unicode character, and you have to convert between FPDF_WIDESTRING and 98 // for a Unicode character, and you have to convert between FPDF_WIDESTRING and
99 // system wide string by yourself. 99 // system wide string by yourself.
100 #ifdef _WIN32_WCE
101 typedef const unsigned short* FPDF_STRING;
102 #else
103 typedef const char* FPDF_STRING; 100 typedef const char* FPDF_STRING;
104 #endif
105 101
106 // Matrix for transformation. 102 // Matrix for transformation.
107 typedef struct _FS_MATRIX_ { 103 typedef struct _FS_MATRIX_ {
108 float a; 104 float a;
109 float b; 105 float b;
110 float c; 106 float c;
111 float d; 107 float d;
112 float e; 108 float e;
113 float f; 109 float f;
114 } FS_MATRIX; 110 } FS_MATRIX;
(...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after
945 // Function: FPDF_BStr_Clear 941 // Function: FPDF_BStr_Clear
946 // Helper function to clear a byte string. 942 // Helper function to clear a byte string.
947 DLLEXPORT FPDF_RESULT STDCALL FPDF_BStr_Clear(FPDF_BSTR* str); 943 DLLEXPORT FPDF_RESULT STDCALL FPDF_BStr_Clear(FPDF_BSTR* str);
948 #endif // PDF_ENABLE_XFA 944 #endif // PDF_ENABLE_XFA
949 945
950 #ifdef __cplusplus 946 #ifdef __cplusplus
951 } 947 }
952 #endif 948 #endif
953 949
954 #endif // PUBLIC_FPDFVIEW_H_ 950 #endif // PUBLIC_FPDFVIEW_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/fsdk_rendercontext.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698