home *** CD-ROM | disk | FTP | other *** search
- /* ui.h */
-
- /* 11Jan95 e */
-
- #include "os_mac.h"
- #include "os_mac_eventchk.h"
-
- #define ui_exit exit
- #define ui_read read
- #define ui_write write
- #define ui_gc_message(msg, arg) fprintf (stderr, msg, arg), fflush (stderr)
- #define ui_fatal_error(str, msg) fprintf (stderr, str, msg), exit(2)
-
- #undef RETURN
-
- #define ui_eventcheck_profiling_P 0
-
- #if ui_eventcheck_profiling_P
-
- #define PERIODIC_ACTION_FREQ ui_period_counts
-
- extern int ui_period_counts;
- void ui_periodic_action(void);
-
- #else
-
- #define PERIODIC_ACTION_FREQ 4096
- #define ui_periodic_action() MAYBE_EVENTCHK()
-
- #endif
-
- /* end of ui.h */
-