From 9d8ec5a6e37e8d1d4d4edca9040de234e2d4728f Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Tue, 4 Aug 2015 13:00:21 -0700 Subject: XFA: clang-format all pdfium code. No behavior change. Generated by: find . -name '*.cpp' -o -name '*.h' | \ grep -E -v 'third_party|thirdparties|lpng_v163|tiff_v403' | \ xargs ../../buildtools/mac/clang-format -i Then manually merged https://codereview.chromium.org/1269223002/ See thread "tabs vs spaces" on pdfium@googlegroups.com for discussion. BUG=none --- core/include/fxcodec/fx_codec_flate.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'core/include/fxcodec/fx_codec_flate.h') diff --git a/core/include/fxcodec/fx_codec_flate.h b/core/include/fxcodec/fx_codec_flate.h index 8495a37496..7d0106139e 100644 --- a/core/include/fxcodec/fx_codec_flate.h +++ b/core/include/fxcodec/fx_codec_flate.h @@ -13,9 +13,11 @@ extern "C" { // Note: Some of these return Z_* status codes from zlib.h. void* FPDFAPI_FlateInit(void* (*alloc_func)(void*, unsigned int, unsigned int), void (*free_func)(void*, void*)); -void FPDFAPI_FlateInput(void* context, const unsigned char* src_buf, +void FPDFAPI_FlateInput(void* context, + const unsigned char* src_buf, unsigned int src_size); -int FPDFAPI_FlateOutput(void* context, unsigned char* dest_buf, +int FPDFAPI_FlateOutput(void* context, + unsigned char* dest_buf, unsigned int dest_size); int FPDFAPI_FlateGetAvailIn(void* context); int FPDFAPI_FlateGetAvailOut(void* context); -- cgit v1.2.3