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

Side by Side Diff: third_party/harfbuzz-ng/src/hb-blob.cc

Issue 10915172: harfbuzz-ng roll (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-blob.h ('k') | third_party/harfbuzz-ng/src/hb-buffer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright © 2009 Red Hat, Inc. 2 * Copyright © 2009 Red Hat, Inc.
3 * 3 *
4 * This is part of HarfBuzz, a text shaping library. 4 * This is part of HarfBuzz, a text shaping library.
5 * 5 *
6 * Permission is hereby granted, without written agreement and without 6 * Permission is hereby granted, without written agreement and without
7 * license or royalty fees, to use, copy, modify, and distribute this 7 * license or royalty fees, to use, copy, modify, and distribute this
8 * software and its documentation for any purpose, provided that the 8 * software and its documentation for any purpose, provided that the
9 * above copyright notice and the following two paragraphs appear in 9 * above copyright notice and the following two paragraphs appear in
10 * all copies of this software. 10 * all copies of this software.
(...skipping 28 matching lines...) Expand all
39 #include <stdio.h> 39 #include <stdio.h>
40 #include <errno.h> 40 #include <errno.h>
41 41
42 42
43 43
44 #ifndef HB_DEBUG_BLOB 44 #ifndef HB_DEBUG_BLOB
45 #define HB_DEBUG_BLOB (HB_DEBUG+0) 45 #define HB_DEBUG_BLOB (HB_DEBUG+0)
46 #endif 46 #endif
47 47
48 48
49 struct _hb_blob_t { 49 struct hb_blob_t {
50 hb_object_header_t header; 50 hb_object_header_t header;
51 ASSERT_POD (); 51 ASSERT_POD ();
52 52
53 bool immutable; 53 bool immutable;
54 54
55 const char *data; 55 const char *data;
56 unsigned int length; 56 unsigned int length;
57 hb_memory_mode_t mode; 57 hb_memory_mode_t mode;
58 58
59 void *user_data; 59 void *user_data;
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 _hb_blob_destroy_user_data (blob); 316 _hb_blob_destroy_user_data (blob);
317 blob->mode = HB_MEMORY_MODE_WRITABLE; 317 blob->mode = HB_MEMORY_MODE_WRITABLE;
318 blob->data = new_data; 318 blob->data = new_data;
319 blob->user_data = new_data; 319 blob->user_data = new_data;
320 blob->destroy = free; 320 blob->destroy = free;
321 321
322 return true; 322 return true;
323 } 323 }
324 324
325 325
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-blob.h ('k') | third_party/harfbuzz-ng/src/hb-buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698