Exemplo n.º 1
0
 public string[] Analyzing( string path, bool isDll, string namepack, List<string> References, Platform platform, bool is64
     ,string cmpdir,int ID)
 {
     ExecutableAnalied executableAnalied = new ExecutableAnalied( Directory.GetFiles( path, "*.obj" )[ 0 ] );
     List<string> GoFiles = new List<string>( );
     executableAnalied.RunSources( ( key, text ) => {
         GoFiles.Add( key = Path.Combine( path, key += ".go" ) );
         File.WriteAllText( key, text );
         return true;
     }, ( str ) => {
         return true;
     }, isDll, ( isDll ? namepack : "main" ), Directory.GetFiles( path, "*.c" ).ToList( ), References, platform, is64
     , cmpdir,ID );
     return GoFiles.ToArray( );
 }