Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: public/fpdf_doc.h

Issue 2559513002: Fix FPDF_GetPageLabel API typo. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fpdfsdk/fpdfview_c_api_test.c ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef PUBLIC_FPDF_DOC_H_ 7 #ifndef PUBLIC_FPDF_DOC_H_
8 #define PUBLIC_FPDF_DOC_H_ 8 #define PUBLIC_FPDF_DOC_H_
9 9
10 // NOLINTNEXTLINE(build/include) 10 // NOLINTNEXTLINE(build/include)
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 // document - handle to the document. 306 // document - handle to the document.
307 // page_index - the 0-based index of the page. 307 // page_index - the 0-based index of the page.
308 // buffer - a buffer for the page label. May be NULL. 308 // buffer - a buffer for the page label. May be NULL.
309 // buflen - the length of the buffer, in bytes. May be 0. 309 // buflen - the length of the buffer, in bytes. May be 0.
310 // 310 //
311 // Returns the number of bytes in the page label, including trailing zeros. 311 // Returns the number of bytes in the page label, including trailing zeros.
312 // 312 //
313 // The |buffer| is always encoded in UTF-16LE. The |buffer| is followed by two 313 // The |buffer| is always encoded in UTF-16LE. The |buffer| is followed by two
314 // bytes of zeros indicating the end of the string. If |buflen| is less than 314 // bytes of zeros indicating the end of the string. If |buflen| is less than
315 // the returned length, or |buffer| is NULL, |buffer| will not be modified. 315 // the returned length, or |buffer| is NULL, |buffer| will not be modified.
316 DLLEXPORT unsigned long STDCALL FPDF_GetPagelLabel(FPDF_DOCUMENT document, 316 DLLEXPORT unsigned long STDCALL FPDF_GetPageLabel(FPDF_DOCUMENT document,
317 int page_index, 317 int page_index,
318 void* buffer, 318 void* buffer,
319 unsigned long buflen); 319 unsigned long buflen);
320 320
321 #ifdef __cplusplus 321 #ifdef __cplusplus
322 } // extern "C" 322 } // extern "C"
323 #endif // __cplusplus 323 #endif // __cplusplus
324 324
325 #endif // PUBLIC_FPDF_DOC_H_ 325 #endif // PUBLIC_FPDF_DOC_H_
OLDNEW
« no previous file with comments | « fpdfsdk/fpdfview_c_api_test.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698