From 1cf085d558fd73f2599fb68e600365dd20502e2b Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Wed, 1 Jul 2009 21:22:36 +0000 Subject: Hold the LLVMContext by reference rather than by pointer. llvm-svn: 74640 --- llvm/include/llvm-c/lto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/include/llvm-c/lto.h') diff --git a/llvm/include/llvm-c/lto.h b/llvm/include/llvm-c/lto.h index 5d92fc5af01..d9a2e5ce686 100644 --- a/llvm/include/llvm-c/lto.h +++ b/llvm/include/llvm-c/lto.h @@ -58,6 +58,7 @@ typedef struct LTOModule* lto_module_t; /** opaque reference to a code generator */ typedef struct LTOCodeGenerator* lto_code_gen_t; +typedef struct LTOContext* lto_context_t; #ifdef __cplusplus extern "C" { @@ -76,7 +77,6 @@ lto_get_version(void); extern const char* lto_get_error_message(void); - /** * Checks if a file is a loadable object file. */ -- cgit v1.2.3