Skip to content

Commit

Permalink
Auto merge of #45 - nox:repr, r=SimonSapin
Browse files Browse the repository at this point in the history
Add missing repr(C) on TT_OS2

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-freetype/45)
<!-- Reviewable:end -->
  • Loading branch information
bors-servo committed Dec 21, 2016
2 parents 20f8113 + c796066 commit 26c523b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cargo.toml
Expand Up @@ -2,9 +2,10 @@
description = "Bindings for Freetype used by Servo"
license = "Apache-2.0 / MIT"
name = "freetype"
version = "0.1.2"
version = "0.1.3"
authors = ["The Servo Project Developers"]
documentation = "http://doc.servo.org/freetype/"
repository = "https://github.com/servo/rust-freetype"

[features]
default = ["servo-freetype-sys"]
Expand Down
1 change: 1 addition & 0 deletions src/tt_os2.rs
Expand Up @@ -9,6 +9,7 @@

use freetype::{FT_UShort, FT_Short, FT_ULong, FT_Byte};

#[repr(C)]
pub struct TT_OS2 {
pub version: FT_UShort,
pub xAvgCharWidth: FT_Short,
Expand Down

0 comments on commit 26c523b

Please sign in to comment.