Fix docstring for ocaml binding's const_float.
[oota-llvm.git] / bindings / ocaml / llvm / llvm.mli
index f7ca58ef9260b8da2e47417f3451360e7ac9650e..8b8cb7f41f47950a7dd001819387f08c8eb6bc6a 100644 (file)
@@ -68,6 +68,7 @@ module TypeKind : sig
   | Pointer
   | Opaque
   | Vector
+  | Metadata
 end
 
 (** The linkage of a global value, accessed with {!linkage} and
@@ -469,7 +470,7 @@ external const_of_int64 : lltype -> Int64.t -> bool -> llvalue
                         = "llvm_const_of_int64"
 
 (** [const_float ty n] returns the floating point constant of type [ty] and
-    value [n]. See the method [llvm::ConstantInt::get]. *)
+    value [n]. See the method [llvm::ConstantFP::get]. *)
 external const_float : lltype -> float -> llvalue = "llvm_const_float"