[cfe-commits] r149533 - /cfe/trunk/include/clang-c/Index.h
Benjamin Kramer
benny.kra at googlemail.com
Wed Feb 1 12:37:28 PST 2012
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.
More information about the cfe-commits
mailing list