Skip to content

Commit

Permalink
Document workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
burtonageo committed Apr 16, 2019
1 parent db9ad0d commit 6266f01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ pub struct bvh_BvhFile {
///
/// This function will not close `bvh_file`.
///
/// This method only works on UNIX due to a dependency issue.
/// This method only works on UNIX due to a dependency issue. To work around
/// this, read the file to a string, and then use `bvh_parse`.
#[no_mangle]
pub unsafe extern "C" fn bvh_read(bvh_file: *mut FILE, out_bvh: *mut bvh_BvhFile) -> c_int {
bvh_read_internal(bvh_file, out_bvh)
Expand Down

0 comments on commit 6266f01

Please sign in to comment.