(EVENT_INIT): New macro.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 15 Jun 2003 20:52:33 +0000 (20:52 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 15 Jun 2003 20:52:33 +0000 (20:52 +0000)
src/termhooks.h

index 2d806c4..da41266 100644 (file)
@@ -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));