Index: third_party/harfbuzz-ng/src/hb-shape.cc |
diff --git a/third_party/harfbuzz-ng/src/hb-shape.cc b/third_party/harfbuzz-ng/src/hb-shape.cc |
index 74747f88b89f7cf719c3a391eb895684156035d5..9a59c0855689564753a91206729f5e163016453e 100644 |
--- a/third_party/harfbuzz-ng/src/hb-shape.cc |
+++ b/third_party/harfbuzz-ng/src/hb-shape.cc |
@@ -200,7 +200,7 @@ parse_one_feature (const char **pp, const char *end, hb_feature_t *feature) |
* hb_feature_from_string: |
* @str: (array length=len): |
* @len: |
- * @feature: (out) (allow-none): |
+ * @feature: (out) (optional): |
* |
* |
* |
@@ -279,11 +279,13 @@ hb_feature_to_string (hb_feature_t *feature, |
static const char **static_shaper_list; |
-static inline |
+#ifdef HB_USE_ATEXIT |
+static |
void free_static_shaper_list (void) |
{ |
free (static_shaper_list); |
} |
+#endif |
/** |
* hb_shape_list_shapers: |