summaryrefslogtreecommitdiff
path: root/public/fpdf_formfill.h
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2018-07-17 20:03:29 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-07-17 20:03:29 +0000
commitd563855ac72ba9dcec7f111587d6efaafc715b0d (patch)
treee72a0031df7220514e4b817ad76afa1f341a27ca /public/fpdf_formfill.h
parenta97a660d47cd500a00f69ad429de0ca1551c7198 (diff)
downloadpdfium-d563855ac72ba9dcec7f111587d6efaafc715b0d.tar.xz
Cleanup SetSavedCalled API
Fix a couple of post submit comments on the originally version of this API. BUG=pdfium:953 Change-Id: Id5b7480c5791821340366371b4ab861e78d47e8b Reviewed-on: https://pdfium-review.googlesource.com/38150 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'public/fpdf_formfill.h')
-rw-r--r--public/fpdf_formfill.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/public/fpdf_formfill.h b/public/fpdf_formfill.h
index 68ffcda56d..4a703d947a 100644
--- a/public/fpdf_formfill.h
+++ b/public/fpdf_formfill.h
@@ -1122,16 +1122,16 @@ typedef void (*FORM_SAVECALLED)(FPDF_FORMFILLINFO*);
* loaded a PDF page, and method FPDFDOC_InitFormFillEnvironment had
* been invoked.
* Parameters:
- * callback - Function pointer to the callback to be called when a
- * Save is attempted. If NULL then no function will be
- * invoked..
* hHandle - Handle to the form fill module. Returned by
* FPDFDOC_InitFormFillEnvironment.
+ * callback - Function pointer to the callback to be called when a
+ * Save is attempted. If NULL then no function will be
+ * invoked.
* Return Value:
* NONE.
**/
-FPDF_EXPORT void FPDF_CALLCONV FORM_SetSaveCallback(FORM_SAVECALLED callback,
- FPDF_FORMHANDLE hHandle);
+FPDF_EXPORT void FPDF_CALLCONV FORM_SetSaveCallback(FPDF_FORMHANDLE hHandle,
+ FORM_SAVECALLED callback);
/**
* Function: FORM_OnAfterLoadPage