The R Project SVN R

Rev

Rev 31757 | Rev 32380 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 31757 Rev 31938
Line 28... Line 28...
28
 
28
 
29
#include <Defn.h>
29
#include <Defn.h>
30
/* -> Errormsg.h */
30
/* -> Errormsg.h */
31
#include <Startup.h> /* rather cleanup ..*/
31
#include <Startup.h> /* rather cleanup ..*/
32
#include <Rconnections.h>
32
#include <Rconnections.h>
-
 
33
#include <R_ext/GraphicsDevice.h>
-
 
34
#include <R_ext/GraphicsEngine.h> /* for GEonExit */
33
 
35
 
34
#ifndef min
36
#ifndef min
35
#define min(a, b) (a<b?a:b)
37
#define min(a, b) (a<b?a:b)
36
#endif
38
#endif
37
 
39
 
Line 616... Line 618...
616
	R_FlushConsole();
618
	R_FlushConsole();
617
	R_ClearerrConsole();
619
	R_ClearerrConsole();
618
	R_ParseError = 0;
620
	R_ParseError = 0;
619
    }
621
    }
620
 
622
 
-
 
623
    /*
-
 
624
     * Reset graphics state
-
 
625
     */
-
 
626
    GEonExit();
-
 
627
 
621
    /* WARNING: If oldInError > 0 ABSOLUTELY NO ALLOCATION can be
628
    /* WARNING: If oldInError > 0 ABSOLUTELY NO ALLOCATION can be
622
       triggered after this point except whatever happens in writing
629
       triggered after this point except whatever happens in writing
623
       the traceback and R_run_onexits.  The error could be an out of
630
       the traceback and R_run_onexits.  The error could be an out of
624
       memory error and any allocation could result in an
631
       memory error and any allocation could result in an
625
       infinite-loop condition. All you can do is reset things and
632
       infinite-loop condition. All you can do is reset things and