Пример #1
0
        public unsafe void Dispose()
        {
            if (_tokens == null)
                return;

            Library.clang_disposeTokens(_tu.Handle, _tokens, _count);

            _tokens = null;
        }
Пример #2
0
 internal unsafe TokenSetHandle(TranslationUnit tu, Library.Token* toks, uint count)
 {
     _tu = tu;
     _tokens = toks;
     _count = count;
 }