Ejemplo n.º 1
0
        public string[] GetIncludes(Function f)
        {
            var types    = new HashSet <DataType>();
            var includes = new HashSet <string>();

            Add(types, _backend.GetDependencies(f));

            foreach (var t in types)
            {
                includes.Add(_backend.GetIncludeFilename(t));
            }

            var result = includes.ToArray();

            Array.Sort(result);
            return(result);
        }
Ejemplo n.º 2
0
 public override string GetInclude(Source src, DataType dt)
 {
     return(_backend.GetIncludeFilename(dt));
 }