mirror of
https://github.com/rustdesk/magnum-opus.git
synced 2026-04-23 08:29:32 +00:00
use vcpkg
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
//! the [libopus documentation](https://opus-codec.org/docs/opus_api-1.1.2/).
|
||||
#![warn(missing_docs)]
|
||||
|
||||
extern crate opusic_sys as ffi;
|
||||
mod opus_ffi;
|
||||
use opus_ffi as ffi;
|
||||
|
||||
|
||||
use std::ffi::CStr;
|
||||
|
||||
6
src/opus_ffi.rs
Normal file
6
src/opus_ffi.rs
Normal file
@@ -0,0 +1,6 @@
|
||||
#![allow(non_upper_case_globals)]
|
||||
#![allow(non_camel_case_types)]
|
||||
#![allow(non_snake_case)]
|
||||
#![allow(dead_code)]
|
||||
|
||||
include!(concat!(env!("OUT_DIR"), "/opus_ffi.rs"));
|
||||
Reference in New Issue
Block a user