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

Unified Diff: third_party/harfbuzz-ng/src/hb-blob.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.h ('k') | third_party/harfbuzz-ng/src/hb-blob.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/harfbuzz-ng/src/hb-blob.h
diff --git a/third_party/harfbuzz-ng/src/hb-blob.h b/third_party/harfbuzz-ng/src/hb-blob.h
index dbbfc90a1f2c2cbd6a2f528d95be3f2ddbd948f5..50c9ae3bcfaeb0ea86d07d4a3bcefc07bd1ed635 100644
--- a/third_party/harfbuzz-ng/src/hb-blob.h
+++ b/third_party/harfbuzz-ng/src/hb-blob.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009 Red Hat, Inc.
+ * Copyright © 2009 Red Hat, Inc.
*
* This is part of HarfBuzz, a text shaping library.
*
@@ -45,8 +45,8 @@ hb_blob_t *
hb_blob_create (const char *data,
unsigned int length,
hb_memory_mode_t mode,
- hb_destroy_func_t destroy,
- void *user_data);
+ void *user_data,
+ hb_destroy_func_t destroy);
hb_blob_t *
hb_blob_create_sub_blob (hb_blob_t *parent,
@@ -54,34 +54,42 @@ hb_blob_create_sub_blob (hb_blob_t *parent,
unsigned int length);
hb_blob_t *
-hb_blob_create_empty (void);
+hb_blob_get_empty (void);
hb_blob_t *
hb_blob_reference (hb_blob_t *blob);
-unsigned int
-hb_blob_get_reference_count (hb_blob_t *blob);
-
void
hb_blob_destroy (hb_blob_t *blob);
-unsigned int
-hb_blob_get_length (hb_blob_t *blob);
+hb_bool_t
+hb_blob_set_user_data (hb_blob_t *blob,
+ hb_user_data_key_t *key,
+ void * data,
+ hb_destroy_func_t destroy,
+ hb_bool_t replace);
+
+
+void *
+hb_blob_get_user_data (hb_blob_t *blob,
+ hb_user_data_key_t *key);
-const char *
-hb_blob_lock (hb_blob_t *blob);
void
-hb_blob_unlock (hb_blob_t *blob);
+hb_blob_make_immutable (hb_blob_t *blob);
hb_bool_t
-hb_blob_is_writable (hb_blob_t *blob);
+hb_blob_is_immutable (hb_blob_t *blob);
-hb_bool_t
-hb_blob_try_writable_inplace (hb_blob_t *blob);
-hb_bool_t
-hb_blob_try_writable (hb_blob_t *blob);
+unsigned int
+hb_blob_get_length (hb_blob_t *blob);
+
+const char *
+hb_blob_get_data (hb_blob_t *blob, unsigned int *length);
+
+char *
+hb_blob_get_data_writable (hb_blob_t *blob, unsigned int *length);
HB_END_DECLS
« no previous file with comments | « third_party/harfbuzz-ng/src/hb.h ('k') | third_party/harfbuzz-ng/src/hb-blob.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698