Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(545)

Unified Diff: third_party/harfbuzz-ng/src/hb-version.h

Issue 9223010: Update harfbuzz-ng to 1a5a91dc0d8bf4b72a2f22dc6300b06ad7000b79. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't use -M option for 'git diff' to patch correctly Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-uniscribe.cc ('k') | third_party/harfbuzz-ng/src/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/harfbuzz-ng/src/hb-version.h
diff --git a/third_party/harfbuzz-ng/src/hb-language.h b/third_party/harfbuzz-ng/src/hb-version.h
similarity index 64%
rename from third_party/harfbuzz-ng/src/hb-language.h
rename to third_party/harfbuzz-ng/src/hb-version.h
index d3c91fb429a78c60657e265d782f31d102ea9e89..c1e3cab9fdf70eef9213b93c98e5349ebd97e4a7 100644
--- a/third_party/harfbuzz-ng/src/hb-language.h
+++ b/third_party/harfbuzz-ng/src/hb-version.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009 Red Hat, Inc.
+ * Copyright © 2011 Google, Inc.
*
* This is part of HarfBuzz, a text shaping library.
*
@@ -21,26 +21,42 @@
* ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
*
- * Red Hat Author(s): Behdad Esfahbod
+ * Google Author(s): Behdad Esfahbod
*/
-#ifndef HB_LANGUAGE_H
-#define HB_LANGUAGE_H
+#ifndef HB_VERSION_H
+#define HB_VERSION_H
#include "hb-common.h"
HB_BEGIN_DECLS
-typedef const void *hb_language_t;
+#define HB_VERSION_MAJOR 0
+#define HB_VERSION_MINOR 7
+#define HB_VERSION_MICRO 0
-hb_language_t
-hb_language_from_string (const char *str);
+#define HB_VERSION_STRING "0.7.0"
+
+#define HB_VERSION_CHECK(major,minor,micro) \
+ ((major)*10000+(minor)*100+(micro) >= \
+ HB_VERSION_MAJOR*10000+HB_VERSION_MINOR*100+HB_VERSION_MICRO)
+
+
+void
+hb_version (unsigned int *major,
+ unsigned int *minor,
+ unsigned int *micro);
const char *
-hb_language_to_string (hb_language_t language);
+hb_version_string (void);
+
+hb_bool_t
+hb_version_check (unsigned int major,
+ unsigned int minor,
+ unsigned int micro);
HB_END_DECLS
-#endif /* HB_LANGUAGE_H */
+#endif /* HB_VERSION_H */
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-uniscribe.cc ('k') | third_party/harfbuzz-ng/src/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698