static int is_legal_type_for_this_window(const objidx_t objnum) { if (objnum == object_none) return 1; else return is_legal_type(vobjptr(objnum)->type); }
int is_legal_type_for_this_window(int objnum) { if (objnum == -1) return 1; else return is_legal_type(Objects[objnum].type); }
static int is_legal_type_for_this_window(objnum_t objnum) { if (objnum == object_none) return 1; else return is_legal_type(Objects[objnum].type); }