Skip to content

Commit

Permalink
Update OCaml bindings for the new half float type.
Browse files Browse the repository at this point in the history
Patch by Jonathan Ragan-Kelley!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147314 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
bob-wilson committed Dec 28, 2011
1 parent 97fb69b commit eaf0608
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bindings/ocaml/llvm/llvm.ml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ type llmemorybuffer
module TypeKind = struct
type t =
| Void
| Half
| Float
| Double
| X86fp80
Expand Down Expand Up @@ -1234,5 +1235,6 @@ let rec string_of_lltype ty =
| TypeKind.X86fp80 -> "x86_fp80"
| TypeKind.Double -> "double"
| TypeKind.Float -> "float"
| TypeKind.Half -> "half"
| TypeKind.Void -> "void"
| TypeKind.Metadata -> "metadata"
1 change: 1 addition & 0 deletions bindings/ocaml/llvm/llvm.mli
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ type llmemorybuffer
module TypeKind : sig
type t =
Void
| Half
| Float
| Double
| X86fp80
Expand Down

0 comments on commit eaf0608

Please sign in to comment.