summaryrefslogtreecommitdiff
path: root/core/fxcrt/fx_extension.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-08-31 13:19:18 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-08-31 17:29:26 +0000
commitbcd1e70175b6bbbcb9d9466c579e0538f34297c6 (patch)
tree9748923cde5a3e52054488fbad5f9dbb855aecc0 /core/fxcrt/fx_extension.h
parentbc0ca1ec9b157ab8773c9043725c7422f7c1a57c (diff)
downloadpdfium-bcd1e70175b6bbbcb9d9466c579e0538f34297c6.tar.xz
Remove fx_basic.h
This CL removes the fx_basic.h header and fixes up includes as needed. Change-Id: I49af32a8327bdbcda40c50a61ffbd75d06609040 Reviewed-on: https://pdfium-review.googlesource.com/12670 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fxcrt/fx_extension.h')
-rw-r--r--core/fxcrt/fx_extension.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/fxcrt/fx_extension.h b/core/fxcrt/fx_extension.h
index 255ee2e3df..fbb86fea45 100644
--- a/core/fxcrt/fx_extension.h
+++ b/core/fxcrt/fx_extension.h
@@ -11,10 +11,14 @@
#include <cwctype>
#include <memory>
-#include "core/fxcrt/fx_basic.h"
+#include "core/fxcrt/fx_string.h"
#define FX_INVALID_OFFSET static_cast<uint32_t>(-1)
+#ifdef PDF_ENABLE_XFA
+#define FX_IsOdd(a) ((a)&1)
+#endif // PDF_ENABLE_XFA
+
float FXSYS_wcstof(const wchar_t* pwsStr,
int32_t iLength = -1,
int32_t* pUsedLen = nullptr);
@@ -102,4 +106,6 @@ void FX_GUID_CreateV4(FX_GUID* pGUID);
CFX_ByteString FX_GUID_ToString(const FX_GUID* pGUID, bool bSeparator = true);
#endif // PDF_ENABLE_XFA
+uint32_t GetBits32(const uint8_t* pData, int bitpos, int nbits);
+
#endif // CORE_FXCRT_FX_EXTENSION_H_