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

Unified Diff: core/fxcrt/fx_basic_gcc.cpp

Issue 1832173003: Remove FX_DWORD from core/ and delete definition (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/fxcrt/fx_basic_buffer.cpp ('k') | core/fxcrt/fx_basic_maps.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fxcrt/fx_basic_gcc.cpp
diff --git a/core/fxcrt/fx_basic_gcc.cpp b/core/fxcrt/fx_basic_gcc.cpp
index 440f92479560b7f5586e24aac73a233ebcb26b17..36cefd9bbe613051a092d662cb3842a5fb6f4a63 100644
--- a/core/fxcrt/fx_basic_gcc.cpp
+++ b/core/fxcrt/fx_basic_gcc.cpp
@@ -97,8 +97,8 @@ extern "C" {
int FXSYS_GetACP() {
return 0;
}
-FX_DWORD FXSYS_GetFullPathName(const FX_CHAR* filename,
- FX_DWORD buflen,
+uint32_t FXSYS_GetFullPathName(const FX_CHAR* filename,
+ uint32_t buflen,
FX_CHAR* buf,
FX_CHAR** filepart) {
int srclen = FXSYS_strlen(filename);
@@ -108,8 +108,8 @@ FX_DWORD FXSYS_GetFullPathName(const FX_CHAR* filename,
FXSYS_strcpy(buf, filename);
return srclen;
}
-FX_DWORD FXSYS_GetModuleFileName(void* hModule, char* buf, FX_DWORD bufsize) {
- return (FX_DWORD)-1;
+uint32_t FXSYS_GetModuleFileName(void* hModule, char* buf, uint32_t bufsize) {
+ return (uint32_t)-1;
}
#ifdef __cplusplus
}
@@ -202,8 +202,8 @@ char* FXSYS_itoa(int value, char* str, int radix) {
#ifdef __cplusplus
extern "C" {
#endif
-int FXSYS_WideCharToMultiByte(FX_DWORD codepage,
- FX_DWORD dwFlags,
+int FXSYS_WideCharToMultiByte(uint32_t codepage,
+ uint32_t dwFlags,
const FX_WCHAR* wstr,
int wlen,
FX_CHAR* buf,
@@ -221,8 +221,8 @@ int FXSYS_WideCharToMultiByte(FX_DWORD codepage,
}
return len;
}
-int FXSYS_MultiByteToWideChar(FX_DWORD codepage,
- FX_DWORD dwFlags,
+int FXSYS_MultiByteToWideChar(uint32_t codepage,
+ uint32_t dwFlags,
const FX_CHAR* bstr,
int blen,
FX_WCHAR* buf,
« no previous file with comments | « core/fxcrt/fx_basic_buffer.cpp ('k') | core/fxcrt/fx_basic_maps.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698