Skip to content

Commit

Permalink
This corrects an error in the type of the Llvm.dispose_context function.
Browse files Browse the repository at this point in the history
Patch by James Woodyatt!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94343 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
lattner committed Jan 24, 2010
1 parent 6fb474b commit dd7da4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bindings/ocaml/llvm/llvm.ml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ type ('a, 'b) llrev_pos =

(*===-- Contexts ----------------------------------------------------------===*)
external create_context : unit -> llcontext = "llvm_create_context"
external dispose_context : unit -> llcontext = "llvm_dispose_context"
external dispose_context : llcontext -> unit = "llvm_dispose_context"
external global_context : unit -> llcontext = "llvm_global_context"

(*===-- Modules -----------------------------------------------------------===*)
Expand Down
2 changes: 1 addition & 1 deletion bindings/ocaml/llvm/llvm.mli
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ external create_context : unit -> llcontext = "llvm_create_context"

(** [destroy_context ()] destroys a context. See the destructor
[llvm::LLVMContext::~LLVMContext]. *)
external dispose_context : unit -> llcontext = "llvm_dispose_context"
external dispose_context : llcontext -> unit = "llvm_dispose_context"

(** See the function [llvm::getGlobalContext]. *)
external global_context : unit -> llcontext = "llvm_global_context"
Expand Down

0 comments on commit dd7da4f

Please sign in to comment.