emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] harfbuzz 27511b9: Fix NS build


From: YAMAMOTO Mitsuharu
Subject: [Emacs-diffs] harfbuzz 27511b9: Fix NS build
Date: Wed, 1 May 2019 20:42:06 -0400 (EDT)

branch: harfbuzz
commit 27511b9821d3a4d3dcb7d8bf50c37d1a46247362
Author: YAMAMOTO Mitsuharu <address@hidden>
Commit: YAMAMOTO Mitsuharu <address@hidden>

    Fix NS build
    
    * src/macfont.m: Fix prototype of macfont_shape.
    (mac_font_shape): Fix type of 5th argument.
---
 src/macfont.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/macfont.m b/src/macfont.m
index 6cefd00..8fcbd50 100644
--- a/src/macfont.m
+++ b/src/macfont.m
@@ -1650,7 +1650,7 @@ static unsigned macfont_encode_char (struct font *, int);
 static void macfont_text_extents (struct font *, unsigned int *, int,
                                   struct font_metrics *);
 static int macfont_draw (struct glyph_string *, int, int, int, int, bool);
-static Lisp_Object macfont_shape (Lisp_Object);
+static Lisp_Object macfont_shape (Lisp_Object, Lisp_Object);
 static int macfont_variation_glyphs (struct font *, int c,
                                      unsigned variations[256]);
 static void macfont_filter_properties (Lisp_Object, Lisp_Object);
@@ -3666,7 +3666,7 @@ mac_font_create_line_with_string_and_font (CFStringRef 
string,
 static CFIndex
 mac_font_shape (CTFontRef font, CFStringRef string,
                struct mac_glyph_layout *glyph_layouts, CFIndex glyph_len,
-               lgstring_direction dir)
+               enum lgstring_direction dir)
 {
   CFIndex used, result = 0;
   CTLineRef ctline = mac_font_create_line_with_string_and_font (string, font);



reply via email to

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