From 5400da8f3f6c819577e5bc06b68468d52a7da215 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sun, 15 Jun 2003 20:52:33 +0000 Subject: [PATCH] (EVENT_INIT): New macro. --- src/termhooks.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 @@ /* Hooks by which low level terminal operations can be made to call other routines. - Copyright (C) 1985, 1986, 1993, 1994 Free Software Foundation, Inc. + Copyright (C) 1985,86,93,94,2003 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -371,6 +371,8 @@ struct input_event Lisp_Object arg; }; +#define EVENT_INIT(event) bzero (&(event), sizeof (struct input_event)) + /* Called to read input events. */ extern int (*read_socket_hook) P_ ((int, struct input_event *, int, int)); -- 2.39.2