aboutsummaryrefslogblamecommitdiffstats
path: root/lib/core_functions.ml
blob: 083e0cf262d9239672e411df5abed31a459e88e2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                           
module Types = Types_generated

module Functions (F : Ctypes.FOREIGN) = struct
  open F

  let compute_hash =
    foreign "compute_hash"
      (F.(@->) (Ctypes.ptr Ctypes.char)
         (F.(@->) Ctypes.string (F.returning Ctypes.void)))

end