Fix a build error for ocaml bindings that was introduced with the TargetData -->...
[oota-llvm.git] / bindings / ocaml / executionengine / llvm_executionengine.ml
index a8535b2464048aba7c1f822a4e81dc3006efce2d..ddb53bbb5afd35658bdcb0897ff460e3784ff921 100644 (file)
@@ -83,7 +83,7 @@ module ExecutionEngine = struct
   external free_machine_code: Llvm.llvalue -> t -> unit
     = "llvm_ee_free_machine_code"
 
-  external target_data: t -> Llvm_target.TargetData.t
+  external target_data: t -> Llvm_target.DataLayout.t
     = "LLVMGetExecutionEngineTargetData"
   
   (* The following are not bound. Patches are welcome.