changeset 51568:5dc40bf1e32a

(EVENT_INIT): New macro.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 15 Jun 2003 20:52:33 +0000
parents 94e008a215b7
children e7bd8581e306
files src/termhooks.h
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/termhooks.h	Sat Jun 14 23:01:54 2003 +0000
+++ b/src/termhooks.h	Sun Jun 15 20:52:33 2003 +0000
@@ -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 @@
   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));