view src/vlimit.h @ 54027:32c7f0e32819

Rework previous change; it didn't consider that the buf array was allocated on the stack. (prev_read): Remove variable. (read_avail_input_buf): New static event buffer array. (in_read_avail_input): New static variable to avoid re-entrancy. (read_avail_input): Change buf to pinter to read_avail_input_buf. Use in_read_avail_input to guard against re-entry. Do not initialize read_avail_input_buf here; instead assume it is always cleared on entry. To ensure that, we clear (just) the entries that were used before we return. (init_keyboard): Initialize read_avail_input_buf here.
author Kim F. Storm <storm@cua.dk>
date Mon, 16 Feb 2004 23:13:13 +0000
parents 695cf19ef79e
children 375f2633d815
line wrap: on
line source

/* Dummy for Emacs so that we can run on VMS... */
#define LIM_DATA 0

/* arch-tag: 0c3436cb-5edc-447a-87af-acec402a65b9
   (do not change this comment) */