blob: dd8c31162a031ea1ceb483c4f48ac324f7e46246 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001/* This sefun is to provide a replacement for the efun query_input_pending().
2 * Feel free to add it to your mudlibs, if you have much code relying on that.
3 */
4
5#if ! __EFUN_DEFINED__(query_input_pending)
6
7#include <interactive_info.h>
8
9object query_input_pending(object ob)
10{
11 if(!efun::interactive(ob))
12 return 0;
13
14 return efun::interactive_info(ob, II_INPUT_PENDING);
15}
16
17#endif