package ctypes

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.24.0.tar.gz
sha256=249c5604c8554659761a7282db4ad200aa8c0fdc408cdb53102bd70feeb51955
md5=064316aaf508a9db203f114bb8401dee

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