diff Modules/stdwinmodule.c @ 2253:c23d092215d2 legacy-trunk

Added a global 'stdwin is active' flag.
author Jack Jansen <jack.jansen@cwi.nl>
date Thu, 26 Jan 1995 16:40:10 +0000
parents 01ed4cd21576
children 7895a97313e5
line wrap: on
line diff
--- a/Modules/stdwinmodule.c	Thu Jan 26 16:37:21 1995 +0000
+++ b/Modules/stdwinmodule.c	Thu Jan 26 16:40:10 1995 +0000
@@ -104,6 +104,8 @@
 
 static object *StdwinError; /* Exception stdwin.error */
 
+int StdwinIsActive;			/* True as soon as stdwin imported */
+
 /* Window and menu object types declared here because of forward references */
 
 typedef struct {
@@ -2631,6 +2633,7 @@
 		}
 #endif
 		inited = 1;
+		StdwinIsActive = 1;
 	}
 	m = initmodule("stdwin", stdwin_methods);
 	d = getmoduledict(m);