-
Notifications
You must be signed in to change notification settings - Fork 513
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clarify support for non-Windows targets (#3135)
- Loading branch information
Showing
8 changed files
with
44 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
mod factory_cache; | ||
pub use factory_cache::*; | ||
|
||
mod generic_factory; | ||
pub use generic_factory::*; | ||
|
||
mod waiter; | ||
pub use waiter::*; | ||
|
||
mod bindings; | ||
pub use bindings::*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
mod agile_reference; | ||
pub use agile_reference::*; | ||
|
||
mod array; | ||
pub use array::*; | ||
|
||
#[cfg(feature = "std")] | ||
mod event; | ||
#[cfg(feature = "std")] | ||
pub use event::*; | ||
|
||
mod handles; | ||
pub use handles::*; | ||
|
||
mod variant; | ||
pub use variant::*; | ||
|
||
/// Attempts to load the factory object for the given WinRT class. | ||
/// This can be used to access COM interfaces implemented on a Windows Runtime class factory. | ||
pub fn factory<C: RuntimeName, I: Interface>() -> Result<I> { | ||
imp::factory::<C, I>() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters