mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
This corrects an error in the type of the Llvm.dispose_context function.
Patch by James Woodyatt! llvm-svn: 94343
This commit is contained in:
parent
d4d1cbb72b
commit
1e19ffa26d
@ -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 -----------------------------------------------------------===*)
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user