Module C.Functions

type context = unit Ctypes.ptr
val context : context Ctypes.typ
val new_context : (unit Ctypes_static.ptr -> unit Ctypes_static.ptr -> int -> unit Ctypes_static.ptr option Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
val drop_context : (context -> unit Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
val rect_from_quad : (Types_generated.quad Ctypes.structure -> Types_generated.rect Ctypes.structure Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
type buffer = unit Ctypes.ptr
val buffer : buffer Ctypes.typ
val drop_buffer : (context -> buffer -> unit Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
val new_buffer : (context -> int -> buffer Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
val terminate_buffer : (context -> buffer -> unit Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
val string_from_buffer : (context -> buffer -> string Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
type output = unit Ctypes.ptr
val output : output Ctypes.typ
val drop_output : (context -> output -> unit Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
val new_output_with_buffer : (context -> buffer -> output Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
val close_output : (context -> output -> unit Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
type device = unit Ctypes.ptr
val device : device Ctypes.typ
val close_device : (context -> device -> unit Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
val drop_device : (context -> device -> unit Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
type stext_page = unit Ctypes.ptr
val stext_page : stext_page Ctypes.typ
val new_stext_page : (context -> Types_generated.rect Ctypes.structure -> stext_page Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
val drop_stext_page : (context -> stext_page -> unit Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
val new_stext_device : (context -> stext_page -> unit Ctypes_static.ptr option -> device Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
val print_stext_page_as_text : (context -> output -> stext_page -> unit Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
type page = unit Ctypes.ptr
val page : page Ctypes.typ
val page_opt : page option Ctypes.typ
val drop_page : (context -> page -> unit Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
val bound_page : (context -> page -> Types_generated.rect Ctypes.structure Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
val run_page : (context -> page -> device -> Types_generated.matrix Ctypes.structure -> cookie option -> unit Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
val search_page : (context -> page -> string -> int Ctypes_static.ptr option -> Types_generated.quad Ctypes.structure Ctypes_static.ptr -> int -> int Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
type document = unit Ctypes.ptr
val document : document Ctypes.typ
val document_opt : document option Ctypes.typ
val register_document_handlers : (context -> unit Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
val open_document : (context -> string -> document option Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
val drop_document : (context -> document -> unit Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
val count_pages : (context -> document -> int Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
val load_page : (context -> document -> int -> page Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
val last_page : (context -> document -> Types_generated.location Ctypes.structure Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
val count_chapters : (context -> document -> int Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.return) Mupdf_ffi.Mupdf__c_generated_functions__Function_description__Functions.result
module PDF : sig ... end