package ctypes

  1. Overview
  2. Docs
Combinators for binding to C libraries without writing any C

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.21.1.tar.gz
sha256=6f2b3b0f26c202b75ed7df3867fd9580d3e592af4944875b92ec0ee3ca7e14ff
md5=8b201d932741c5096854e5eb39139b90

doc/src/ctypes.stubs/cstubs_errors.ml.html

Source file cstubs_errors.ml

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

(* Exception definitions *)

exception Cstubs_internal_error of string

let internal_error fmt = 
  Format.ksprintf (fun s -> raise (Cstubs_internal_error s)) fmt
OCaml

Innovation. Community. Security.