diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2016-07-17 16:50:37 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2016-07-17 22:33:52 +0800 |
commit | 8b6cc5f00e4d3f1a43e677a43a2a809f6132a196 (patch) | |
tree | 9fc8f5d5f14d290e582185f971189c6bbd1bc9ea /platform/java/mupdf_native.h | |
parent | 90bf2e01390bf77c91034dec06a1e6aabd8235ec (diff) | |
download | mupdf-8b6cc5f00e4d3f1a43e677a43a2a809f6132a196.tar.xz |
JNI: Add BufferInputStream, BufferOutputStream.
These are meant to make it easy to interact with mupdf's Buffer
object in a normal Java fashion.
Diffstat (limited to 'platform/java/mupdf_native.h')
-rw-r--r-- | platform/java/mupdf_native.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/platform/java/mupdf_native.h b/platform/java/mupdf_native.h index e3902a21..3756eae9 100644 --- a/platform/java/mupdf_native.h +++ b/platform/java/mupdf_native.h @@ -184,6 +184,30 @@ JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Buffer_save } #endif #endif +/* Header for class com_artifex_mupdf_fitz_BufferInputStream */ + +#ifndef _Included_com_artifex_mupdf_fitz_BufferInputStream +#define _Included_com_artifex_mupdf_fitz_BufferInputStream +#ifdef __cplusplus +extern "C" { +#endif +#undef com_artifex_mupdf_fitz_BufferInputStream_MAX_SKIP_BUFFER_SIZE +#define com_artifex_mupdf_fitz_BufferInputStream_MAX_SKIP_BUFFER_SIZE 2048L +#ifdef __cplusplus +} +#endif +#endif +/* Header for class com_artifex_mupdf_fitz_BufferOutputStream */ + +#ifndef _Included_com_artifex_mupdf_fitz_BufferOutputStream +#define _Included_com_artifex_mupdf_fitz_BufferOutputStream +#ifdef __cplusplus +extern "C" { +#endif +#ifdef __cplusplus +} +#endif +#endif /* Header for class com_artifex_mupdf_fitz_ColorSpace */ #ifndef _Included_com_artifex_mupdf_fitz_ColorSpace |