示例#1
0
        /// <summary>
        /// The GetAllSkippedRanges
        /// </summary>
        /// <returns>The <see cref="SourceRangeList"/></returns>
        public unsafe ClangList <SourceRange> GetAllSkippedRanges()
        {
            IntPtr pRangeList = clang.clang_getAllSkippedRanges(this.m_value);

            if (pRangeList == IntPtr.Zero)
            {
                return(null);
            }
            CXSourceRangeList *pCXSourceRangeList = (CXSourceRangeList *)pRangeList;

            return(new SourceRangeList(*pCXSourceRangeList));
        }
 public static extern void clang_disposeSourceRangeList(
     CXSourceRangeList *ranges);