From 94230e5cfd8c5b78ab63536fa3c1b95ceb92fe0a Mon Sep 17 00:00:00 2001 From: Henrique Nakashima Date: Wed, 11 Jul 2018 22:02:02 +0000 Subject: Rename content mark parameter value getters. The functions: - FPDFPageObjMark_GetParamValueTypeByKey() - FPDFPageObjMark_GetParamIntValueByKey() - FPDFPageObjMark_GetParamStringValueByKey() are renamed, respectively, to: - FPDFPageObjMark_GetParamValueType() - FPDFPageObjMark_GetParamIntValue() - FPDFPageObjMark_GetParamStringValue() Bug: pdfium:1037 Change-Id: Iac9cc8c0a9ccaea101bbaaab9063cd2c755c9d47 Reviewed-on: https://pdfium-review.googlesource.com/37611 Commit-Queue: Henrique Nakashima Reviewed-by: Lei Zhang --- public/fpdf_edit.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'public') diff --git a/public/fpdf_edit.h b/public/fpdf_edit.h index 5e3efb5825..e7f6cc4a70 100644 --- a/public/fpdf_edit.h +++ b/public/fpdf_edit.h @@ -377,8 +377,8 @@ FPDFPageObjMark_GetParamKey(FPDF_PAGEOBJECTMARK mark, // // Returns the type of the value, or FPDF_OBJECT_UNKNOWN in case of failure. FPDF_EXPORT FPDF_OBJECT_TYPE FPDF_CALLCONV -FPDFPageObjMark_GetParamValueTypeByKey(FPDF_PAGEOBJECTMARK mark, - FPDF_BYTESTRING key); +FPDFPageObjMark_GetParamValueType(FPDF_PAGEOBJECTMARK mark, + FPDF_BYTESTRING key); // Experimental API. // Get the value of a number property in a content mark by key as int. @@ -392,9 +392,9 @@ FPDFPageObjMark_GetParamValueTypeByKey(FPDF_PAGEOBJECTMARK mark, // // Returns TRUE if the key maps to a number value, FALSE otherwise. FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV -FPDFPageObjMark_GetParamIntValueByKey(FPDF_PAGEOBJECTMARK mark, - FPDF_BYTESTRING key, - int* out_value); +FPDFPageObjMark_GetParamIntValue(FPDF_PAGEOBJECTMARK mark, + FPDF_BYTESTRING key, + int* out_value); // Experimental API. // Get the value of a string property in a content mark by key. @@ -409,11 +409,11 @@ FPDFPageObjMark_GetParamIntValueByKey(FPDF_PAGEOBJECTMARK mark, // // Returns TRUE if the key maps to a string value, FALSE otherwise. FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV -FPDFPageObjMark_GetParamStringValueByKey(FPDF_PAGEOBJECTMARK mark, - FPDF_BYTESTRING key, - void* buffer, - unsigned long buflen, - unsigned long* out_buflen); +FPDFPageObjMark_GetParamStringValue(FPDF_PAGEOBJECTMARK mark, + FPDF_BYTESTRING key, + void* buffer, + unsigned long buflen, + unsigned long* out_buflen); // Experimental API. // Set the value of an int property in a content mark by key. If a parameter -- cgit v1.2.3