Skip to content

Commit

Permalink
replace c2rust generated harfbuzz api to harfbuzz_sys api
Browse files Browse the repository at this point in the history
  • Loading branch information
xcaptain committed Oct 6, 2019
1 parent a8d94d2 commit 947d8e1
Show file tree
Hide file tree
Showing 10 changed files with 81 additions and 764 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@

# ignore mdbook compiled output (HTML)
docs/book/*
.vscode
44 changes: 44 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ bitflags = "1.1.0"
libc = "0.2"
chrono = "0.4.9"
#log = { version = "0.4", features = ["std"] }
harfbuzz-sys = "^0.3"

[target.'cfg(target_os = "macos")'.dependencies]
core-foundation = "0.6.4"
Expand Down
1 change: 1 addition & 0 deletions engine/src/xetex_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ use bridge::_tt_abort;
use crate::stub_stdio::strcasecmp;
use crate::xetex_layout_engine::*;
use libc::{memcpy, strcat, strcpy, strdup, strlen, strncpy, strstr};
use harfbuzz_sys::{hb_tag_t, hb_tag_from_string, hb_feature_t};

pub type __ssize_t = i64;
pub type size_t = u64;
Expand Down
Loading

0 comments on commit 947d8e1

Please sign in to comment.