]> granicus.if.org Git - clang/commitdiff
libclang: Mark clang_Cursor_isNull with CINDEX_LINKAGE to make it available on windows.
authorBenjamin Kramer <benny.kra@googlemail.com>
Wed, 1 Feb 2012 20:37:28 +0000 (20:37 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 1 Feb 2012 20:37:28 +0000 (20:37 +0000)
Patch by Timothy J Fontaine!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149533 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang-c/Index.h

index 588d93a932895e51ab24563ad525ba2966342747..a5082d120a377d64f83c52a3204e5fbf55c15d52 100644 (file)
@@ -1984,7 +1984,7 @@ CINDEX_LINKAGE unsigned clang_equalCursors(CXCursor, CXCursor);
 /**
  * \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.