MCPcopy Create free account
hub / github.com/NetHack/NetHack / any_handler

Function any_handler

outdated/win/gem/wingem1.c:3086–3101  ·  view source on GitHub ↗
(xev)

Source from the content-addressed store, hash-verified

3084#define any_init M_Init
3085
3086static int
3087any_handler(xev)
3088XEVENT *xev;
3089{
3090 int ev = xev->ev_mwich;
3091
3092 if (ev & MU_MESAG) {
3093 int *buf = xev->ev_mmgpbuf;
3094
3095 if (*buf == OBJC_EDITED)
3096 my_close_dialog(*(DIAINFO **) &buf[4], FALSE);
3097 else
3098 ev &= ~MU_MESAG;
3099 }
3100 return (ev);
3101}
3102
3103int
3104send_yn_esc(char ch)

Callers

nothing calls this directly

Calls 1

my_close_dialogFunction · 0.85

Tested by

no test coverage detected