OLD | NEW |
1 /* | 1 /* |
2 * Copyright © 2009 Red Hat, Inc. | 2 * Copyright © 2009 Red Hat, Inc. |
3 * Copyright © 2011 Codethink Limited | 3 * Copyright © 2011 Codethink Limited |
4 * Copyright © 2010,2011,2012 Google, Inc. | 4 * Copyright © 2010,2011,2012 Google, Inc. |
5 * | 5 * |
6 * This is part of HarfBuzz, a text shaping library. | 6 * This is part of HarfBuzz, a text shaping library. |
7 * | 7 * |
8 * Permission is hereby granted, without written agreement and without | 8 * Permission is hereby granted, without written agreement and without |
9 * license or royalty fees, to use, copy, modify, and distribute this | 9 * license or royalty fees, to use, copy, modify, and distribute this |
10 * software and its documentation for any purpose, provided that the | 10 * software and its documentation for any purpose, provided that the |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 HB_UNICODE_FUNCS_IMPLEMENT(ucdn) | 139 HB_UNICODE_FUNCS_IMPLEMENT(ucdn) |
140 #else | 140 #else |
141 #define HB_UNICODE_FUNCS_NIL 1 | 141 #define HB_UNICODE_FUNCS_NIL 1 |
142 HB_UNICODE_FUNCS_IMPLEMENT(nil) | 142 HB_UNICODE_FUNCS_IMPLEMENT(nil) |
143 #endif | 143 #endif |
144 | 144 |
145 #undef HB_UNICODE_FUNCS_IMPLEMENT | 145 #undef HB_UNICODE_FUNCS_IMPLEMENT |
146 } | 146 } |
147 | 147 |
148 #if !defined(HB_NO_UNICODE_FUNCS) && defined(HB_UNICODE_FUNCS_NIL) | 148 #if !defined(HB_NO_UNICODE_FUNCS) && defined(HB_UNICODE_FUNCS_NIL) |
149 #pragma message("Could not find any Unicode functions implementation, you have t
o provide your own.") | 149 #ifdef _MSC_VER |
150 #pragma message("To suppress this warnings, define HB_NO_UNICODE_FUNCS.") | 150 #pragma message("Could not find any Unicode functions implementation, you have t
o provide your own") |
| 151 #pragma message("To suppress this warnings, define HB_NO_UNICODE_FUNCS") |
| 152 #else |
| 153 #warning "Could not find any Unicode functions implementation, you have to provi
de your own" |
| 154 #warning "To suppress this warning, define HB_NO_UNICODE_FUNCS" |
| 155 #endif |
151 #endif | 156 #endif |
152 | 157 |
153 /** | 158 /** |
154 * hb_unicode_funcs_create: (Xconstructor) | 159 * hb_unicode_funcs_create: (Xconstructor) |
155 * @parent: (allow-none): | 160 * @parent: (allow-none): |
156 * | 161 * |
157 * | 162 * |
158 * | 163 * |
159 * Return value: (transfer full): | 164 * Return value: (transfer full): |
160 * | 165 * |
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
554 230, /* HB_UNICODE_COMBINING_CLASS_ABOVE */ | 559 230, /* HB_UNICODE_COMBINING_CLASS_ABOVE */ |
555 231, | 560 231, |
556 232, /* HB_UNICODE_COMBINING_CLASS_ABOVE_RIGHT */ | 561 232, /* HB_UNICODE_COMBINING_CLASS_ABOVE_RIGHT */ |
557 233, /* HB_UNICODE_COMBINING_CLASS_DOUBLE_BELOW */ | 562 233, /* HB_UNICODE_COMBINING_CLASS_DOUBLE_BELOW */ |
558 234, /* HB_UNICODE_COMBINING_CLASS_DOUBLE_ABOVE */ | 563 234, /* HB_UNICODE_COMBINING_CLASS_DOUBLE_ABOVE */ |
559 235, 236, 237, 238, 239, | 564 235, 236, 237, 238, 239, |
560 240, /* HB_UNICODE_COMBINING_CLASS_IOTA_SUBSCRIPT */ | 565 240, /* HB_UNICODE_COMBINING_CLASS_IOTA_SUBSCRIPT */ |
561 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, | 566 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, |
562 255, /* HB_UNICODE_COMBINING_CLASS_INVALID */ | 567 255, /* HB_UNICODE_COMBINING_CLASS_INVALID */ |
563 }; | 568 }; |
OLD | NEW |