Skip to content
Permalink
Browse files
Add missing repr(C) on TT_OS2
  • Loading branch information
nox committed Dec 21, 2016
1 parent 66a4662 commit c796066b996f0c60ff17884a10e821bd3aef08ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
@@ -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"]
@@ -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,

0 comments on commit c796066

Please sign in to comment.