Source file ctypes_value_printing_stubs.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(*
 * Copyright (c) 2013 Jeremy Yallop.
 *
 * This file is distributed under the terms of the MIT License.
 * See the file LICENSE for details.
 *)

(* Stubs for formatting C values. *)

(* Return a string representation of a C value *)
external string_of_prim : 'a Ctypes_primitive_types.prim -> 'a -> string
  = "ctypes_string_of_prim"

external string_of_pointer : _ Ctypes_ptr.Fat.t -> string
  = "ctypes_string_of_pointer"