diff options
author | Lei Zhang <thestig@chromium.org> | 2017-08-31 02:33:27 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-31 16:41:19 +0000 |
commit | df064df7a08e008b3c8e4d56bb0b75da9f014147 (patch) | |
tree | 17f7244a29424c5e61460ed672b2f25df1278b14 /public/fpdf_attachment.h | |
parent | 63b012652da22f75172895a975ea7932e63dcc81 (diff) | |
download | pdfium-df064df7a08e008b3c8e4d56bb0b75da9f014147.tar.xz |
Change APIs to use FPDF_BYTESTRING for keys.
Change-Id: I865a9eeb197ea2c1f5480cae32d975909495676d
Reviewed-on: https://pdfium-review.googlesource.com/12551
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'public/fpdf_attachment.h')
-rw-r--r-- | public/fpdf_attachment.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/public/fpdf_attachment.h b/public/fpdf_attachment.h index 5a7ab6a722..411ee219af 100644 --- a/public/fpdf_attachment.h +++ b/public/fpdf_attachment.h @@ -81,7 +81,7 @@ FPDFAttachment_GetName(FPDF_ATTACHMENT attachment, // // Returns true if |key| exists. FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV -FPDFAttachment_HasKey(FPDF_ATTACHMENT attachment, FPDF_WIDESTRING key); +FPDFAttachment_HasKey(FPDF_ATTACHMENT attachment, FPDF_BYTESTRING key); // Experimental API. // Get the type of the value corresponding to |key| in the params dictionary of @@ -92,7 +92,7 @@ FPDFAttachment_HasKey(FPDF_ATTACHMENT attachment, FPDF_WIDESTRING key); // // Returns the type of the dictionary value. FPDF_EXPORT FPDF_OBJECT_TYPE FPDF_CALLCONV -FPDFAttachment_GetValueType(FPDF_ATTACHMENT attachment, FPDF_WIDESTRING key); +FPDFAttachment_GetValueType(FPDF_ATTACHMENT attachment, FPDF_BYTESTRING key); // Experimental API. // Set the string value corresponding to |key| in the params dictionary of the @@ -106,7 +106,7 @@ FPDFAttachment_GetValueType(FPDF_ATTACHMENT attachment, FPDF_WIDESTRING key); // Returns true if successful. FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAttachment_SetStringValue(FPDF_ATTACHMENT attachment, - FPDF_WIDESTRING key, + FPDF_BYTESTRING key, FPDF_WIDESTRING value); // Experimental API. @@ -127,7 +127,7 @@ FPDFAttachment_SetStringValue(FPDF_ATTACHMENT attachment, // Returns the length of the dictionary value string. FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAttachment_GetStringValue(FPDF_ATTACHMENT attachment, - FPDF_WIDESTRING key, + FPDF_BYTESTRING key, void* buffer, unsigned long buflen); |