public bool BuildDeclarations(string cppFilePath)
        {
            DeclarationList d = DeclarationList.Construct(cppFilePath);

            if (d != null)
            {
                m_declarations.Add(d);
            }
            return(d != null);
        }
示例#2
0
        public bool BuildDeclarations(string cppFilePath, List <string> preprocessorDefines)
        {
            DeclarationList d = DeclarationList.Construct(cppFilePath, preprocessorDefines);

            if (d != null)
            {
                m_declarations.Add(d);
            }
            return(d != null);
        }