Consolidate XChar2b macros for the X, W32, and NS
commit1c6fefc9557ac174cea6b2d41f0eb3bdb1cced3a
authorDaiki Ueno <ueno@gnu.org>
Wed, 16 Jul 2014 04:11:08 +0000 (16 13:11 +0900)
committerDaiki Ueno <ueno@gnu.org>
Wed, 16 Jul 2014 04:11:08 +0000 (16 13:11 +0900)
tree6e560c0d010d720080a7f01b9feda503ec93b966
parent7e6d13fea41769d1e66dd1c9cd8b6d61f96da39b
Consolidate XChar2b macros for the X, W32, and NS

Suggested by Jan Djärv in:
https://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00203.html
* w32gui.h (XChar2b, STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2):
Move the fallback definitions to dispextern.h.
* nsgui.h (XChar2b, STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2):
Likewise.  Share the same definition with W32.
* xterm.h (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): Move to ...
* dispextern.h (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2):
... here for the consistency with W32 and NS.
src/ChangeLog
src/dispextern.h
src/nsgui.h
src/w32gui.h
src/xterm.h