Remove the "headless" feature
This commit is contained in:
parent
e953e3d4ea
commit
ace4808fac
8 changed files with 83 additions and 24 deletions
|
|
@ -2,10 +2,8 @@
|
|||
|
||||
pub use api::android::*;
|
||||
|
||||
#[cfg(feature = "headless")]
|
||||
pub struct HeadlessContext(i32);
|
||||
|
||||
#[cfg(feature = "headless")]
|
||||
impl HeadlessContext {
|
||||
/// See the docs in the crate root file.
|
||||
pub fn new(_builder: BuilderAttribs) -> Result<HeadlessContext, CreationError> {
|
||||
|
|
@ -32,7 +30,5 @@ impl HeadlessContext {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "headless")]
|
||||
unsafe impl Send for HeadlessContext {}
|
||||
#[cfg(feature = "headless")]
|
||||
unsafe impl Sync for HeadlessContext {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue