dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/JScript/Execute EngineInstance.cs,1.


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/JScript/Execute EngineInstance.cs,1.2,1.3
Date: Fri, 30 May 2003 23:32:04 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/JScript/Execute
In directory subversions:/tmp/cvs-serv32646/JScript/Execute

Modified Files:
        EngineInstance.cs 
Log Message:


Add the CONFIG_SMALL_CONSOLE profile option, which strips
System.Console down to a smaller size.


Index: EngineInstance.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/JScript/Execute/EngineInstance.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** EngineInstance.cs   16 Mar 2003 21:49:40 -0000      1.2
--- EngineInstance.cs   31 May 2003 03:32:02 -0000      1.3
***************
*** 162,166 ****
--- 162,170 ----
                                        else
                                        {
+                                       #if CONFIG_SMALL_CONSOLE
+                                               return null;
+                                       #else
                                                return ScriptStream.Out;
+                                       #endif
                                        }
                                }
***************
*** 176,180 ****
--- 180,188 ----
                                        else
                                        {
+                                       #if CONFIG_SMALL_CONSOLE
+                                               return null;
+                                       #else
                                                return ScriptStream.Error;
+                                       #endif
                                        }
                                }
***************
*** 191,194 ****
--- 199,203 ----
        public void DetachOutputStreams()
                        {
+                       #if !CONFIG_SMALL_CONSOLE
                                if(outStream == null)
                                {
***************
*** 199,202 ****
--- 208,212 ----
                                        errorStream = Console.Error;
                                }
+                       #endif
                        }
  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]