emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/macgui.h


From: Kim F. Storm
Subject: [Emacs-diffs] Changes to emacs/src/macgui.h
Date: Sun, 16 Mar 2003 15:48:32 -0500

Index: emacs/src/macgui.h
diff -c emacs/src/macgui.h:1.3 emacs/src/macgui.h:1.4
*** emacs/src/macgui.h:1.3      Fri Oct 25 02:49:29 2002
--- emacs/src/macgui.h  Sun Mar 16 15:48:31 2003
***************
*** 97,102 ****
--- 97,118 ----
  typedef struct MacFontStruct MacFontStruct;
  typedef struct MacFontStruct XFontStruct;
  
+ /* Structure borrowed from Xlib.h to represent two-byte characters.  */
+ 
+ typedef struct {
+   unsigned char byte1;
+   unsigned char byte2;
+ } XChar2b;
+ 
+ #define STORE_XCHAR2B(chp, b1, b2) \
+   ((chp)->byte1 = (b1), (chp)->byte2 = (b2))
+ 
+ #define XCHAR2B_BYTE1(chp) \
+   ((chp)->byte1)
+ 
+ #define XCHAR2B_BYTE2(chp) \
+   ((chp)->byte2)
+ 
  
  /* Emulate X GC's by keeping color and font info in a structure.  */
  typedef struct _XGCValues




reply via email to

[Prev in Thread] Current Thread [Next in Thread]