package portmidi

  1. Overview
  2. Docs

Parameters

module F : Ctypes.FOREIGN

Signature

val pm_initialize : (unit -> int F.return) F.result
val pm_terminate : (unit -> unit F.return) F.result
val pm_count_devices : (unit -> int F.return) F.result
val pm_get_device_info : (int -> Types.PmDeviceInfo.t Ctypes_static.ptr F.return) F.result
val pm_get_error_text : (int -> string option F.return) F.result
val pm_open_input : (unit Ctypes_static.ptr Ctypes_static.ptr -> int -> unit Ctypes_static.ptr -> int32 -> unit Ctypes_static.ptr -> unit Ctypes_static.ptr -> int F.return) F.result
val pm_open_output : (unit Ctypes_static.ptr Ctypes_static.ptr -> int -> unit Ctypes_static.ptr -> int32 -> unit Ctypes_static.ptr -> unit Ctypes_static.ptr -> int32 -> int F.return) F.result
val pm_abort : (unit Ctypes_static.ptr -> int F.return) F.result
val pm_close : (unit Ctypes_static.ptr -> int F.return) F.result
val pm_read : (unit Ctypes_static.ptr -> Types.PmEvent.t Ctypes_static.ptr -> int32 -> int F.return) F.result
val pm_write : (unit Ctypes_static.ptr -> Types.PmEvent.t Ctypes_static.ptr -> int32 -> int F.return) F.result
val pm_write_sysex : (unit Ctypes_static.ptr -> int32 -> char Ctypes_static.ptr -> int F.return) F.result
val pm_poll : (unit Ctypes_static.ptr -> int F.return) F.result
OCaml

Innovation. Community. Security.