Restore other bits of the C API that I tore up. All pre-existing APIs default to...
[oota-llvm.git] / include / llvm-c / Core.h
index c022c101775ae46349020b543a0483e6abc59ccf..3538c0837187b0956877b83a1d5a26a27eef7d8d 100644 (file)
@@ -201,6 +201,8 @@ void LLVMContextDispose(LLVMContextRef C);
 /* Create and destroy modules. */ 
 /** See llvm::Module::Module. */
 LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID);
+LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID,
+                                                LLVMContextRef C);
 
 /** See llvm::Module::~Module. */
 void LLVMDisposeModule(LLVMModuleRef M);