package wayland

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Source file metadata.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
type 'a ty = ..

type param = [
  | `Uint 
  | `Int 
  | `String 
  | `Array 
  | `Object of string option
  | `New_ID of string option
  | `Fixed 
  | `FD 
]

type arg = string * param
(** Argument name and type. *)

type info = int -> string * arg list
(** A function that takes an operation number and returns the operation name and argument metadata. *)

module type S = sig
  type t
  type _ ty += T : t ty

  val interface : string
  val version : int32
  val requests : info
  val events : info
end