diff options
Diffstat (limited to 'core/fxcrt/fx_extension.h')
-rw-r--r-- | core/fxcrt/fx_extension.h | 8 |
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_ |