Author: d0k
Date: Wed Feb 1 14:37:28 2012
New Revision: 149533
URL: http://llvm.org/viewvc/llvm-project?rev=149533&view=rev
Log:
libclang: Mark clang_Cursor_isNull with CINDEX_LINKAGE to make it available on
windows.
Patch by Timothy J Fontaine!
Modified:
cfe/trunk/include/clang-c/Index.h
Modified: cfe/trunk/include/clang-c/Index.h
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang-c/Index.h?rev=149533&r1=149532&r2=149533&view=diff
==============================================================================
--- cfe/trunk/include/clang-c/Index.h (original)
+++ cfe/trunk/include/clang-c/Index.h Wed Feb 1 14:37:28 2012
@@ -1984,7 +1984,7 @@
/**
* \brief Returns non-zero if \arg cursor is null.
*/
-int clang_Cursor_isNull(CXCursor);
+CINDEX_LINKAGE int clang_Cursor_isNull(CXCursor);
/**
* \brief Compute a hash value for the given cursor.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits