+type ptype =
+ | TBool (** Boolean *)
+ | TBuffer (** 8 bit buffer of limited length *)
+ | TEnum of string (** Enumerated type *)
+ | TFile (** arbitrary length file in/out *)
+ | THash of ptype (** Hash of string -> ptype *)
+ | TInt (** Integer: MUST have preconditions *)
+ | TInt32 (** Signed 32 bit integer *)
+ | TInt64 (** Signed 64 bit integer *)
+ | TList of ptype (** List/array of values *)
+ | TNullable of ptype (** NULLable type modifier *)
+ | TString (** String (non-null) *)
+ | TStruct of string (** Struct *)
+ | TTypedef of string (** Typedef (before being resolved) *)
+ | TUInt32 (** Unsigned 32 bit integer *)
+ | TUInt64 (** Unsigned 64 bit integer *)
+ | TUnion of string (** Qualified union *)
+(** API parameter type. *)