/** opaque reference to a code generator */
typedef struct LTOCodeGenerator* lto_code_gen_t;
-typedef struct LTOContext* lto_context_t;
-
#ifdef __cplusplus
extern "C" {
#endif
* Returns NULL on error (check lto_get_error_message() for details).
*/
extern lto_module_t
-lto_module_create(const char* path, LLVMContextRef Ctxt);
+lto_module_create(const char* path);
/**
* Returns NULL on error (check lto_get_error_message() for details).
*/
extern lto_module_t
-lto_module_create_from_memory(const void* mem, size_t length,
- LLVMContextRef Ctxt);
+lto_module_create_from_memory(const void* mem, size_t length);
/**
* Returns NULL on error (check lto_get_error_message() for details).
*/
extern lto_code_gen_t
-lto_codegen_create(LLVMContextRef Ctxt);
+lto_codegen_create(void);
/**