Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
clouds56 committed Apr 9, 2024
1 parent 48f58a9 commit 6dc1878
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl Sourceable for TestSource {
}

fn get_type() -> SourceType {
SourceType::FILTER
SourceType::Filter
}

fn create(create: &mut CreatableSourceContext<Self>, source: SourceContext) -> Self {
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@
//! }
//!
//! fn get_type() -> SourceType {
//! SourceType::FILTER
//! SourceType::Filter
//! }
//!
//! fn create(
//! create: &mut CreatableSourceContext<Self>,
//! _source: SourceContext
//! _source: SourceRef
//! ) -> Self {
//! Self
//! }
Expand Down
3 changes: 3 additions & 0 deletions src/module.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ macro_rules! obs_register_module {
};
}

#[deprecated = "use `ModuleRef` instead"]
pub type ModuleContext = ModuleRef;

pub struct ModuleRef {
raw: *mut obs_module_t,
}
Expand Down

0 comments on commit 6dc1878

Please sign in to comment.