diff options
| author | Stefan Monnier | 2003-06-15 20:52:33 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2003-06-15 20:52:33 +0000 |
| commit | 5400da8f3f6c819577e5bc06b68468d52a7da215 (patch) | |
| tree | 496dd6828e654d3b85429fc04564a458204a2f11 /src | |
| parent | 57dd22f4e8afc84237a5c1d52461faba582e0fa5 (diff) | |
| download | emacs-5400da8f3f6c819577e5bc06b68468d52a7da215.tar.gz emacs-5400da8f3f6c819577e5bc06b68468d52a7da215.zip | |
(EVENT_INIT): New macro.
Diffstat (limited to 'src')
| -rw-r--r-- | src/termhooks.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/termhooks.h b/src/termhooks.h index 2d806c4a287..da41266d984 100644 --- a/src/termhooks.h +++ b/src/termhooks.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Hooks by which low level terminal operations | 1 | /* Hooks by which low level terminal operations |
| 2 | can be made to call other routines. | 2 | can be made to call other routines. |
| 3 | Copyright (C) 1985, 1986, 1993, 1994 Free Software Foundation, Inc. | 3 | Copyright (C) 1985,86,93,94,2003 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -371,6 +371,8 @@ struct input_event | |||
| 371 | Lisp_Object arg; | 371 | Lisp_Object arg; |
| 372 | }; | 372 | }; |
| 373 | 373 | ||
| 374 | #define EVENT_INIT(event) bzero (&(event), sizeof (struct input_event)) | ||
| 375 | |||
| 374 | /* Called to read input events. */ | 376 | /* Called to read input events. */ |
| 375 | extern int (*read_socket_hook) P_ ((int, struct input_event *, int, int)); | 377 | extern int (*read_socket_hook) P_ ((int, struct input_event *, int, int)); |
| 376 | 378 | ||