CClash.CompilerCacheBase.CompileWithStreams C# (CSharp) Method

CompileWithStreams() protected method

protected CompileWithStreams ( ICompiler comp, IEnumerable args, StreamWriter stderr, StreamWriter stdout, List includes ) : int
comp ICompiler
args IEnumerable
stderr System.IO.StreamWriter
stdout System.IO.StreamWriter
includes List
return int
        protected int CompileWithStreams(ICompiler comp, IEnumerable<string> args, StreamWriter stderr, StreamWriter stdout, List<string> includes)
        {
            var rv = comp.InvokeCompiler(args,
                        x =>
                        {
                            stderr.Write(x);
                        }, y =>
                        {
                            stdout.Write(y);
                        }, includes != null, includes);

            return rv;
        }