package srt

  1. Overview
  2. Docs
Binding for the Secure, Reliable, Transport protocol library

Install

Dune Dependency

Authors

Maintainers

Sources

v0.3.0.tar.gz
md5=7f4ccc71036fb5c8365690ccdec0498c
sha512=a79286afeed4f8ef161b9fe1f32e54581ef658f25975727351478b0a1fe16975f5c5b47f247dae4909df73f75ce8022b2201c1272f78528bf11efe8507174820

doc/src/srt_stubs_locked/srt_stubs_locked.ml.html

Source file srt_stubs_locked.ml

1
2
3
4
5
6
7
8
9
10
11
open Ctypes

module Def (F : Cstubs.FOREIGN) = struct
  open F

  let memcpy =
    foreign "memcpy" (ocaml_bytes @-> ptr char @-> int @-> returning void)

  let memcpy_str =
    foreign "memcpy" (ptr char @-> ocaml_string @-> int @-> returning void)
end
OCaml

Innovation. Community. Security.