Skip to content

Commit

Permalink
Add a new FFI function Gecko_GetAppUnitsPerPhysicalInch to get the …
Browse files Browse the repository at this point in the history
…physical inch of device context in Gecko.

MozReview-Commit-ID: HiLkw5r05OT
  • Loading branch information
kuoe0 committed May 2, 2017
1 parent 8850a01 commit fc1e4e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/style/gecko_bindings/bindings.rs
Expand Up @@ -1074,6 +1074,10 @@ extern "C" {
pub fn Gecko_CSSValue_GetAbsoluteLength(css_value: nsCSSValueBorrowed)
-> nscoord;
}
extern "C" {
pub fn Gecko_GetAppUnitsPerPhysicalInch(pres_context: RawGeckoPresContextBorrowed)
-> i32;
}
extern "C" {
pub fn Gecko_CSSValue_GetKeyword(aCSSValue: nsCSSValueBorrowed)
-> nsCSSKeyword;
Expand Down

0 comments on commit fc1e4e9

Please sign in to comment.