ucs2_t
#define room_for_ucs2_cnv(p1,p2) (((p1)+sizeof(ucs2_t))<=(p2))
#define no_room_for_ucs2_cnv(p1,p2) (((p1)+sizeof(ucs2_t))>(p2))
#define incomplete_ucs2_seq(p1,p2) (((p1)+sizeof(ucs2_t))>(p2))
#define next_ucs2_ptr(p) (((uchar_t*)(p))+sizeof(ucs2_t))
#define ext_ucs2_lsb(n) ((uchar_t)(((ucs2_t)(n))&((ucs2_t)0x00ff)))
#define ext_ucs2_msb(n) ((uchar_t)(((((ucs2_t)(n))&((ucs2_t)0xff00)))>>8))
#define get_ucs2_word(p) (*((ucs2_t*)(p)))
#define set_ucs2_word(p,n) ((*((ucs2_t*)(p)))=(n))
(((ucs2_t)((*(p))<<8))|((ucs2_t)(*((p)+1))))
(((ucs2_t)(((*((p)+1)))<<8))|((ucs2_t)(*(p))))
#define ext_ucs4_lsw(n) ((ucs2_t)((((ucs4_t)(n))&((ucs4_t)0x0000ffff))))
#define ext_ucs4_msw(n) ((ucs2_t)((((ucs4_t)(n))&((ucs4_t)0xffff0000))>>16))