diff options
author | tsepez <tsepez@chromium.org> | 2017-01-10 06:03:26 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2017-01-10 06:03:26 -0800 |
commit | 3128d1c45d8bc313abb8aae151f86bbe62c52e56 (patch) | |
tree | dffc158fa0e9a4c17801b82063e9ba203daf979e /core/fxcrt/fx_ext.h | |
parent | 5e9066cbfa252b84d49f8b4adba445ba7761e81f (diff) | |
download | pdfium-3128d1c45d8bc313abb8aae151f86bbe62c52e56.tar.xz |
Remove more _LP* typedefs.
Code is much clearer when we use the actual types
rather than this convention.
Review-Url: https://codereview.chromium.org/2618993002
Diffstat (limited to 'core/fxcrt/fx_ext.h')
-rw-r--r-- | core/fxcrt/fx_ext.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/core/fxcrt/fx_ext.h b/core/fxcrt/fx_ext.h index 20580760c6..9203938c2c 100644 --- a/core/fxcrt/fx_ext.h +++ b/core/fxcrt/fx_ext.h @@ -86,15 +86,14 @@ void FX_Random_GenerateMT(uint32_t* pBuffer, int32_t iCount); void FX_Random_GenerateCrypto(uint32_t* pBuffer, int32_t iCount); #ifdef PDF_ENABLE_XFA -typedef struct FX_GUID { +struct FX_GUID { uint32_t data1; uint16_t data2; uint16_t data3; uint8_t data4[8]; -} FX_GUID, *FX_LPGUID; -typedef FX_GUID const* FX_LPCGUID; -void FX_GUID_CreateV4(FX_LPGUID pGUID); -void FX_GUID_ToString(FX_LPCGUID pGUID, +}; +void FX_GUID_CreateV4(FX_GUID* pGUID); +void FX_GUID_ToString(const FX_GUID* pGUID, CFX_ByteString& bsStr, bool bSeparator = true); #endif // PDF_ENABLE_XFA |