Skip to content

Commit e416f03

Browse files
committed
Language changes.
1 parent 6a58ecc commit e416f03

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

Diff for: harfbuzz.rc

+10-10
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,9 @@ pub const HB_SCRIPT_SORA_SOMPENG: u32 = 1399812705_u32;
178178
pub const HB_SCRIPT_TAKRI: u32 = 1415670642_u32;
179179
pub const HB_SCRIPT_INVALID: u32 = 0_u32;
180180

181-
pub type struct__hb_user_data_key_t = {
181+
pub struct struct__hb_user_data_key_t {
182182
unused: c_char,
183-
};
183+
}
184184

185185
pub type hb_user_data_key_t = struct__hb_user_data_key_t;
186186

@@ -219,23 +219,23 @@ pub type struct__hb_buffer_t = c_void;
219219

220220
pub type hb_buffer_t = struct__hb_buffer_t;
221221

222-
pub type struct__hb_glyph_info_t = {
222+
pub struct struct__hb_glyph_info_t {
223223
codepoint: hb_codepoint_t,
224224
mask: hb_mask_t,
225225
cluster: uint32_t,
226226
var1: hb_var_int_t,
227227
var2: hb_var_int_t,
228-
};
228+
}
229229

230230
pub type hb_glyph_info_t = struct__hb_glyph_info_t;
231231

232-
pub type struct__hb_glyph_position_t = {
232+
pub struct struct__hb_glyph_position_t {
233233
x_advance: hb_position_t,
234234
y_advance: hb_position_t,
235235
x_offset: hb_position_t,
236236
y_offset: hb_position_t,
237237
var: hb_var_int_t,
238-
};
238+
}
239239

240240
pub type hb_glyph_position_t = struct__hb_glyph_position_t;
241241

@@ -253,12 +253,12 @@ pub type struct__hb_font_funcs_t = c_void;
253253

254254
pub type hb_font_funcs_t = struct__hb_font_funcs_t;
255255

256-
pub type struct__hb_glyph_extents_t = {
256+
pub struct struct__hb_glyph_extents_t {
257257
x_bearing: hb_position_t,
258258
y_bearing: hb_position_t,
259259
width: hb_position_t,
260260
height: hb_position_t,
261-
};
261+
}
262262

263263
pub type hb_glyph_extents_t = struct__hb_glyph_extents_t;
264264

@@ -290,12 +290,12 @@ pub type struct__hb_set_t = c_void;
290290

291291
pub type hb_set_t = struct__hb_set_t;
292292

293-
pub type struct__hb_feature_t = {
293+
pub struct struct__hb_feature_t {
294294
tag: hb_tag_t,
295295
value: uint32_t,
296296
start: c_uint,
297297
end: c_uint,
298-
};
298+
}
299299

300300
pub type hb_feature_t = struct__hb_feature_t;
301301

Diff for: linkhack.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
#[link_args = "libharfbuzz.a -lpango-1.0 -lglib-2.0"]
77
#[link_args = "-lstdc++"]
88
#[no_link]
9-
extern mod m { }
9+
extern { }
1010

1111
#[cfg(target_os = "macos")]
1212
#[link_args = "libharfbuzz.a -lstdc++"]
1313
#[no_link]
14-
extern mod m { }
14+
extern { }

0 commit comments

Comments
 (0)