1 /*
2  * This file is part of gtkD.
3  *
4  * gtkD is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License
6  * as published by the Free Software Foundation; either version 3
7  * of the License, or (at your option) any later version, with
8  * some exceptions, please read the COPYING file.
9  *
10  * gtkD is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with gtkD; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
18  */
19 
20 // generated automatically - do not change
21 // find conversion definition on APILookup.txt
22 // implement new conversion functionalities on the wrap.utils pakage
23 
24 
25 module harfbuzz.c.functions;
26 
27 import std.stdio;
28 import harfbuzz.c.types;
29 import gtkd.Loader;
30 
31 version (Windows)
32 	static immutable LIBRARY_HARFBUZZ = ["gobject-0.dll;gobject.dll;gobject.dll"];
33 else version (OSX)
34 	static immutable LIBRARY_HARFBUZZ = ["gobject.0.dylib"];
35 else
36 	static immutable LIBRARY_HARFBUZZ = ["libharfbuzz-gobject.so.0"];
37 
38 shared static this()
39 {
40 	// harfbuzz.blob_t
41 
42 	Linker.link(hb_gobject_blob_get_type, "hb_gobject_blob_get_type", LIBRARY_HARFBUZZ);
43 
44 	// harfbuzz.buffer_t
45 
46 	Linker.link(hb_gobject_buffer_get_type, "hb_gobject_buffer_get_type", LIBRARY_HARFBUZZ);
47 
48 	// harfbuzz.face_t
49 
50 	Linker.link(hb_gobject_face_get_type, "hb_gobject_face_get_type", LIBRARY_HARFBUZZ);
51 
52 	// harfbuzz.feature_t
53 
54 	Linker.link(hb_gobject_feature_get_type, "hb_gobject_feature_get_type", LIBRARY_HARFBUZZ);
55 	Linker.link(hb_feature_to_string, "hb_feature_to_string", LIBRARY_HARFBUZZ);
56 
57 	// harfbuzz.font_funcs_t
58 
59 	Linker.link(hb_gobject_font_funcs_get_type, "hb_gobject_font_funcs_get_type", LIBRARY_HARFBUZZ);
60 
61 	// harfbuzz.font_t
62 
63 	Linker.link(hb_gobject_font_get_type, "hb_gobject_font_get_type", LIBRARY_HARFBUZZ);
64 
65 	// harfbuzz.glyph_info_t
66 
67 	Linker.link(hb_gobject_glyph_info_get_type, "hb_gobject_glyph_info_get_type", LIBRARY_HARFBUZZ);
68 
69 	// harfbuzz.glyph_position_t
70 
71 	Linker.link(hb_gobject_glyph_position_get_type, "hb_gobject_glyph_position_get_type", LIBRARY_HARFBUZZ);
72 
73 	// harfbuzz.language_t
74 
75 	Linker.link(hb_language_to_string, "hb_language_to_string", LIBRARY_HARFBUZZ);
76 
77 	// harfbuzz.map_t
78 
79 	Linker.link(hb_gobject_map_get_type, "hb_gobject_map_get_type", LIBRARY_HARFBUZZ);
80 
81 	// harfbuzz.ot_math_glyph_part_t
82 
83 	Linker.link(hb_gobject_ot_math_glyph_part_get_type, "hb_gobject_ot_math_glyph_part_get_type", LIBRARY_HARFBUZZ);
84 
85 	// harfbuzz.ot_math_glyph_variant_t
86 
87 	Linker.link(hb_gobject_ot_math_glyph_variant_get_type, "hb_gobject_ot_math_glyph_variant_get_type", LIBRARY_HARFBUZZ);
88 
89 	// harfbuzz.segment_properties_t
90 
91 	Linker.link(hb_gobject_segment_properties_get_type, "hb_gobject_segment_properties_get_type", LIBRARY_HARFBUZZ);
92 
93 	// harfbuzz.set_t
94 
95 	Linker.link(hb_gobject_set_get_type, "hb_gobject_set_get_type", LIBRARY_HARFBUZZ);
96 
97 	// harfbuzz.shape_plan_t
98 
99 	Linker.link(hb_gobject_shape_plan_get_type, "hb_gobject_shape_plan_get_type", LIBRARY_HARFBUZZ);
100 
101 	// harfbuzz.unicode_funcs_t
102 
103 	Linker.link(hb_gobject_unicode_funcs_get_type, "hb_gobject_unicode_funcs_get_type", LIBRARY_HARFBUZZ);
104 
105 	// harfbuzz.user_data_key_t
106 
107 	Linker.link(hb_gobject_user_data_key_get_type, "hb_gobject_user_data_key_get_type", LIBRARY_HARFBUZZ);
108 
109 	// harfbuzz.variation_t
110 
111 	Linker.link(hb_variation_to_string, "hb_variation_to_string", LIBRARY_HARFBUZZ);
112 }
113 
114 __gshared extern(C)
115 {
116 
117 	// harfbuzz.blob_t
118 
119 	GType function() c_hb_gobject_blob_get_type;
120 
121 	// harfbuzz.buffer_t
122 
123 	GType function() c_hb_gobject_buffer_get_type;
124 
125 	// harfbuzz.face_t
126 
127 	GType function() c_hb_gobject_face_get_type;
128 
129 	// harfbuzz.feature_t
130 
131 	GType function() c_hb_gobject_feature_get_type;
132 	void function(hb_feature_t* feature, char* buf, uint size) c_hb_feature_to_string;
133 
134 	// harfbuzz.font_funcs_t
135 
136 	GType function() c_hb_gobject_font_funcs_get_type;
137 
138 	// harfbuzz.font_t
139 
140 	GType function() c_hb_gobject_font_get_type;
141 
142 	// harfbuzz.glyph_info_t
143 
144 	GType function() c_hb_gobject_glyph_info_get_type;
145 
146 	// harfbuzz.glyph_position_t
147 
148 	GType function() c_hb_gobject_glyph_position_get_type;
149 
150 	// harfbuzz.language_t
151 
152 	const(char)* function(hb_language_t language) c_hb_language_to_string;
153 
154 	// harfbuzz.map_t
155 
156 	GType function() c_hb_gobject_map_get_type;
157 
158 	// harfbuzz.ot_math_glyph_part_t
159 
160 	GType function() c_hb_gobject_ot_math_glyph_part_get_type;
161 
162 	// harfbuzz.ot_math_glyph_variant_t
163 
164 	GType function() c_hb_gobject_ot_math_glyph_variant_get_type;
165 
166 	// harfbuzz.segment_properties_t
167 
168 	GType function() c_hb_gobject_segment_properties_get_type;
169 
170 	// harfbuzz.set_t
171 
172 	GType function() c_hb_gobject_set_get_type;
173 
174 	// harfbuzz.shape_plan_t
175 
176 	GType function() c_hb_gobject_shape_plan_get_type;
177 
178 	// harfbuzz.unicode_funcs_t
179 
180 	GType function() c_hb_gobject_unicode_funcs_get_type;
181 
182 	// harfbuzz.user_data_key_t
183 
184 	GType function() c_hb_gobject_user_data_key_get_type;
185 
186 	// harfbuzz.variation_t
187 
188 	void function(hb_variation_t* variation, char* buf, uint size) c_hb_variation_to_string;
189 }
190 
191 
192 // harfbuzz.blob_t
193 
194 alias c_hb_gobject_blob_get_type hb_gobject_blob_get_type;
195 
196 // harfbuzz.buffer_t
197 
198 alias c_hb_gobject_buffer_get_type hb_gobject_buffer_get_type;
199 
200 // harfbuzz.face_t
201 
202 alias c_hb_gobject_face_get_type hb_gobject_face_get_type;
203 
204 // harfbuzz.feature_t
205 
206 alias c_hb_gobject_feature_get_type hb_gobject_feature_get_type;
207 alias c_hb_feature_to_string hb_feature_to_string;
208 
209 // harfbuzz.font_funcs_t
210 
211 alias c_hb_gobject_font_funcs_get_type hb_gobject_font_funcs_get_type;
212 
213 // harfbuzz.font_t
214 
215 alias c_hb_gobject_font_get_type hb_gobject_font_get_type;
216 
217 // harfbuzz.glyph_info_t
218 
219 alias c_hb_gobject_glyph_info_get_type hb_gobject_glyph_info_get_type;
220 
221 // harfbuzz.glyph_position_t
222 
223 alias c_hb_gobject_glyph_position_get_type hb_gobject_glyph_position_get_type;
224 
225 // harfbuzz.language_t
226 
227 alias c_hb_language_to_string hb_language_to_string;
228 
229 // harfbuzz.map_t
230 
231 alias c_hb_gobject_map_get_type hb_gobject_map_get_type;
232 
233 // harfbuzz.ot_math_glyph_part_t
234 
235 alias c_hb_gobject_ot_math_glyph_part_get_type hb_gobject_ot_math_glyph_part_get_type;
236 
237 // harfbuzz.ot_math_glyph_variant_t
238 
239 alias c_hb_gobject_ot_math_glyph_variant_get_type hb_gobject_ot_math_glyph_variant_get_type;
240 
241 // harfbuzz.segment_properties_t
242 
243 alias c_hb_gobject_segment_properties_get_type hb_gobject_segment_properties_get_type;
244 
245 // harfbuzz.set_t
246 
247 alias c_hb_gobject_set_get_type hb_gobject_set_get_type;
248 
249 // harfbuzz.shape_plan_t
250 
251 alias c_hb_gobject_shape_plan_get_type hb_gobject_shape_plan_get_type;
252 
253 // harfbuzz.unicode_funcs_t
254 
255 alias c_hb_gobject_unicode_funcs_get_type hb_gobject_unicode_funcs_get_type;
256 
257 // harfbuzz.user_data_key_t
258 
259 alias c_hb_gobject_user_data_key_get_type hb_gobject_user_data_key_get_type;
260 
261 // harfbuzz.variation_t
262 
263 alias c_hb_variation_to_string hb_variation_to_string;