Declare this function here so that it doesn't get C++ mangling.
authorNick Lewycky <nicholas@mxc.ca>
Sun, 15 May 2011 07:20:34 +0000 (07:20 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sun, 15 May 2011 07:20:34 +0000 (07:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131379 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm-c/Core.h

index 39c3cb40117c1554ed7aae7f01137cd52fe658a4..70fc6999530b7d905b7c39231e719194a198b320 100644 (file)
@@ -282,6 +282,8 @@ typedef enum {
   LLVMRealPredicateTrue   /**< Always true (always folded) */
 } LLVMRealPredicate;
 
+void LLVMInitializeCore(LLVMPassRegistryRef R);
+
 
 /*===-- Error handling ----------------------------------------------------===*/