[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Wed May 30 00:34:56 UTC 2018


 src/hb-map.cc |    2 +-
 src/hb-map.h  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 25783907737b561f7b8648b8e92dba601a439828
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Tue May 29 17:34:35 2018 -0700

    [map] Fix bool use in C API

diff --git a/src/hb-map.cc b/src/hb-map.cc
index 702a926e..332a318b 100644
--- a/src/hb-map.cc
+++ b/src/hb-map.cc
@@ -220,7 +220,7 @@ hb_map_del (hb_map_t       *map,
  *
  * Since: REPLACEME
  **/
-bool
+hb_bool_t
 hb_map_has (const hb_map_t *map,
 	    hb_codepoint_t  key)
 {
diff --git a/src/hb-map.h b/src/hb-map.h
index 61822830..bf01f2df 100644
--- a/src/hb-map.h
+++ b/src/hb-map.h
@@ -101,7 +101,7 @@ HB_EXTERN void
 hb_map_del (hb_map_t       *map,
 	    hb_codepoint_t  key);
 
-HB_EXTERN bool
+HB_EXTERN hb_bool_t
 hb_map_has (const hb_map_t *map,
 	    hb_codepoint_t  key);
 


More information about the HarfBuzz mailing list