From 3d7f6bd3b700023f78015620b59701e2f09827e0 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Thu, 26 Jan 1995 16:40:10 +0000 Subject: Added a global 'stdwin is active' flag. --- Modules/stdwinmodule.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Modules/stdwinmodule.c b/Modules/stdwinmodule.c index 896207c..5ca798f 100644 --- a/Modules/stdwinmodule.c +++ b/Modules/stdwinmodule.c @@ -104,6 +104,8 @@ static type_lock StdwinLock; /* Lock held when interpreter not locked */ 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 @@ initstdwin() } #endif inited = 1; + StdwinIsActive = 1; } m = initmodule("stdwin", stdwin_methods); d = getmoduledict(m); -- cgit v0.12