aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/ocaml/executionengine/llvm_executionengine.mli
diff options
context:
space:
mode:
authorErick Tryzelaar <idadesub@users.sourceforge.net>2010-03-03 23:51:30 +0000
committerErick Tryzelaar <idadesub@users.sourceforge.net>2010-03-03 23:51:30 +0000
commit9c7c566efe4b942ed8597156bf66e9abf98c79b5 (patch)
treece77314952fd483f2c3d7bf7ec6ca38acd376c66 /bindings/ocaml/executionengine/llvm_executionengine.mli
parent7b3afb4547c943565e9c5740dd60de3bce5a2793 (diff)
downloadexternal_llvm-9c7c566efe4b942ed8597156bf66e9abf98c79b5.zip
external_llvm-9c7c566efe4b942ed8597156bf66e9abf98c79b5.tar.gz
external_llvm-9c7c566efe4b942ed8597156bf66e9abf98c79b5.tar.bz2
Rename some ocaml functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97684 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings/ocaml/executionengine/llvm_executionengine.mli')
-rw-r--r--bindings/ocaml/executionengine/llvm_executionengine.mli8
1 files changed, 4 insertions, 4 deletions
diff --git a/bindings/ocaml/executionengine/llvm_executionengine.mli b/bindings/ocaml/executionengine/llvm_executionengine.mli
index 30aa0850..ce25f9d 100644
--- a/bindings/ocaml/executionengine/llvm_executionengine.mli
+++ b/bindings/ocaml/executionengine/llvm_executionengine.mli
@@ -29,7 +29,7 @@ module GenericValue: sig
(** [of_pointer v] boxes the pointer value [v] in a generic value. See the
field [llvm::GenericValue::PointerVal]. *)
- external of_pointer : 'a -> t = "llvm_genericvalue_of_value"
+ external of_pointer : 'a -> t = "llvm_genericvalue_of_pointer"
(** [of_int32 n w] boxes the int32 [i] in a generic value with the bitwidth
[w]. See the field [llvm::GenericValue::IntVal]. *)
@@ -55,7 +55,7 @@ module GenericValue: sig
(** [as_pointer gv] unboxes the pointer-valued generic value [gv]. See the
field [llvm::GenericValue::PointerVal]. *)
- external as_pointer : t -> 'a = "llvm_genericvalue_as_value"
+ external as_pointer : t -> 'a = "llvm_genericvalue_as_pointer"
(** [as_int32 gv] unboxes the integer-valued generic value [gv] as an [int32].
Is invalid if [gv] has a bitwidth greater than 32 bits. See the field
@@ -71,7 +71,7 @@ module GenericValue: sig
(** [as_natint gv] unboxes the integer-valued generic value [gv] as a
[nativeint]. Is invalid if [gv] has a bitwidth greater than
[nativeint]. See the field [llvm::GenericValue::IntVal]. *)
- external as_nativeint : t -> nativeint = "llvm_genericvalue_as_int"
+ external as_nativeint : t -> nativeint = "llvm_genericvalue_as_nativeint"
(** [as_int64 gv] returns the integer-valued generic value [gv] as an [int64].
Is invalid if [gv] has a bitwidth greater than [int64]. See the field
@@ -112,7 +112,7 @@ module ExecutionEngine: sig
external dispose : t -> unit = "llvm_ee_dispose"
(** [add_module m ee] adds the module [m] to the execution engine [ee]. *)
- external add_module : Llvm.llmodule -> t -> unit = "llvm_ee_add_mp"
+ external add_module : Llvm.llmodule -> t -> unit = "llvm_ee_add_module"
(** [remove_module m ee] removes the module [m] from the execution engine
[ee], disposing of [m] and the module referenced by [mp]. Raises