llvm.org GIT mirror llvm / dd7da4f
This corrects an error in the type of the Llvm.dispose_context function. Patch by James Woodyatt! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94343 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 9 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
143143
144144 (*===-- Contexts ----------------------------------------------------------===*)
145145 external create_context : unit -> llcontext = "llvm_create_context"
146 external dispose_context : unit -> llcontext = "llvm_dispose_context"
146 external dispose_context : llcontext -> unit = "llvm_dispose_context"
147147 external global_context : unit -> llcontext = "llvm_global_context"
148148
149149 (*===-- Modules -----------------------------------------------------------===*)
213213
214214 (** [destroy_context ()] destroys a context. See the destructor
215215 [llvm::LLVMContext::~LLVMContext]. *)
216 external dispose_context : unit -> llcontext = "llvm_dispose_context"
216 external dispose_context : llcontext -> unit = "llvm_dispose_context"
217217
218218 (** See the function [llvm::getGlobalContext]. *)
219219 external global_context : unit -> llcontext = "llvm_global_context"