/***********************************************************
-Copyright 1991, 1992, 1993, 1994 by Stichting Mathematisch Centrum,
-Amsterdam, The Netherlands.
+Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam,
+The Netherlands.
All Rights Reserved
#include "allobjects.h"
#include "modsupport.h" /* For getargs() etc. */
+#include "macglue.h"
#include <AddressXlation.h>
#include <Desk.h>
-#ifndef __MWERKS__
+#ifndef HAVE_UNIVERSAL_HEADERS
#define ResultUPP ResultProcPtr
#define NewResultProc(x) (x)
/* The '2' has move in this name... */
dnrrobject *self;
{
while ( self->waiting ) {
- if ( !PyMac_Idle() )
+ if ( PyMac_Idle() )
return 0;
}
return 1;
if (!newgetargs(args, ""))
return NULL;
if ( !dnrwait(self) ) {
+ /* XXX An interrupt is pending -- is this correct? */
INCREF(None);
return None;
}
err_clear();
if ( self->waiting )
if ( !dnrwait(self) ) {
+ /* XXX An interrupt is pending -- is this correct? */
err_setstr(ErrorObject, "Resolver busy");
return NULL;
}