cpdf-source/cpdfprinttree.mli
John Whitington 70c6fe9b63 Docstrings
2024-07-24 15:05:02 +01:00

8 lines
325 B
OCaml

(** Print trees *)
(** Print a tree to a buffer. *)
val to_buffer : ?line_prefix: string -> get_name: ('a -> string) -> get_children: ('a -> 'a list) -> Buffer.t -> 'a -> unit
(** Print a tree to a string. *)
val to_string : ?line_prefix: string -> get_name: ('a -> string) -> get_children: ('a -> 'a list) -> 'a -> string