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

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

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
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 25 matching lines...) Expand all
36 HB_BEGIN_DECLS 36 HB_BEGIN_DECLS
37 37
38 38
39 typedef enum { 39 typedef enum {
40 HB_MEMORY_MODE_DUPLICATE, 40 HB_MEMORY_MODE_DUPLICATE,
41 HB_MEMORY_MODE_READONLY, 41 HB_MEMORY_MODE_READONLY,
42 HB_MEMORY_MODE_WRITABLE, 42 HB_MEMORY_MODE_WRITABLE,
43 HB_MEMORY_MODE_READONLY_MAY_MAKE_WRITABLE 43 HB_MEMORY_MODE_READONLY_MAY_MAKE_WRITABLE
44 } hb_memory_mode_t; 44 } hb_memory_mode_t;
45 45
46 typedef struct _hb_blob_t hb_blob_t; 46 typedef struct hb_blob_t hb_blob_t;
47 47
48 hb_blob_t * 48 hb_blob_t *
49 hb_blob_create (const char *data, 49 hb_blob_create (const char *data,
50 unsigned int length, 50 unsigned int length,
51 hb_memory_mode_t mode, 51 hb_memory_mode_t mode,
52 void *user_data, 52 void *user_data,
53 hb_destroy_func_t destroy); 53 hb_destroy_func_t destroy);
54 54
55 hb_blob_t * 55 hb_blob_t *
56 hb_blob_create_sub_blob (hb_blob_t *parent, 56 hb_blob_create_sub_blob (hb_blob_t *parent,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 const char * 92 const char *
93 hb_blob_get_data (hb_blob_t *blob, unsigned int *length); 93 hb_blob_get_data (hb_blob_t *blob, unsigned int *length);
94 94
95 char * 95 char *
96 hb_blob_get_data_writable (hb_blob_t *blob, unsigned int *length); 96 hb_blob_get_data_writable (hb_blob_t *blob, unsigned int *length);
97 97
98 98
99 HB_END_DECLS 99 HB_END_DECLS
100 100
101 #endif /* HB_BLOB_H */ 101 #endif /* HB_BLOB_H */
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-atomic-private.hh ('k') | third_party/harfbuzz-ng/src/hb-blob.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698