open Printf
-type any_type = TInt32 | TInt64 | Type of string
+type any_type =
+ | TFilePerm
+ | TInt32
+ | TInt64
+ | TPathname
+ | TUInt32
+ | TUInt64
type parameter = string * any_type
}
let string_of_any_type = function
+ | TFilePerm -> "fileperm"
| TInt32 -> "int32"
| TInt64 -> "int64"
- | Type s -> s
+ | TPathname -> "pathname"
+ | TUInt32 -> "uint32"
+ | TUInt64 -> "uint64"
let string_of_return_type = function
| RErr -> "err"
| Return t -> string_of_any_type t