// MicroPDF - MuPDF API Compatible C Header
// Auto-generated from Rust FFI - DO NOT EDIT MANUALLY
// Module: pdf_writer

#ifndef MUPDF_FITZ_PDF_WRITER_H
#define MUPDF_FITZ_PDF_WRITER_H

#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>

#ifdef __cplusplus
extern "C" {
#endif

// ============================================================================
// Pdf_writer Functions (4 total)
// ============================================================================

int32_t mp_writer_add_object(int32_t writer, int32_t obj_num, u16 generation, int32_t object);
void mp_writer_free(int32_t writer);
int32_t mp_writer_new(void);
int64_t mp_writer_write(int32_t writer, u8 * buf, size_t buf_len);

#ifdef __cplusplus
}
#endif

#endif /* MUPDF_FITZ_PDF_WRITER_H */
