aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/clang-c/Index.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h
index bf11454890..d853072661 100644
--- a/include/clang-c/Index.h
+++ b/include/clang-c/Index.h
@@ -344,11 +344,12 @@ typedef struct CXDeclExtent {
CXSourceLineColumn end;
} CXSourceExtent;
-/* clang_getDeclExtent() returns the physical extent of a declaration. The beginning
- * line/column pair points to the start of the first token in the declaration, and the
- * ending line/column pair points the start of the last token in the declaration.
+/* clang_getDeclExtent() returns the physical extent of a declaration. The
+ * beginning line/column pair points to the start of the first token in the
+ * declaration, and the ending line/column pair points the start of the last
+ * token in the declaration.
*/
-CXSourceExtent clang_getDeclExtent(CXDecl);
+CINDEX_LINKAGE CXSourceExtent clang_getDeclExtent(CXDecl);
/*
* CXCursor Operations.