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

Side by Side Diff: core/include/fxcodec/fx_codec_flate.h

Issue 1240713004: Move FPDFAPI_FlateInit() prototype and friends to .h file (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Copyright 2015 Created 5 years, 5 months 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 | « BUILD.gn ('k') | core/src/fpdfapi/fpdf_parser/fpdf_parser_filters.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #include "../../../third_party/zlib_v128/zlib.h"
8
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12
13 // Note: Some of these return Z_* status codes from zlib.h.
14 void* FPDFAPI_FlateInit(void* (*alloc_func)(void*, unsigned int, unsigned int),
15 void (*free_func)(void*, void*));
16 void FPDFAPI_FlateInput(void* context, const unsigned char* src_buf,
17 unsigned int src_size);
18 int FPDFAPI_FlateOutput(void* context, unsigned char* dest_buf,
19 unsigned int dest_size);
20 int FPDFAPI_FlateGetAvailIn(void* context);
21 int FPDFAPI_FlateGetAvailOut(void* context);
22 void FPDFAPI_FlateEnd(void* context);
23
24 #ifdef __cplusplus
25 } // extern "C"
26 #endif
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | core/src/fpdfapi/fpdf_parser/fpdf_parser_filters.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698