Skip to content

Commit b04c014

Browse files
nicholasbishopphip1611
authored andcommitted
uefi: Export cstr8, cstr16, and entry macros from the root
Previously these macros were only exported from the `prelude` module, but that's intended for glob imports which not everyone likes to use.
1 parent 14e5214 commit b04c014

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
- `SystemTable::exit_boot_services` now takes no parameters and handles
1414
the memory map allocation itself. Errors are now treated as
1515
unrecoverable and will cause the system to reset.
16+
- Re-export the `cstr8`, `cstr16`, and `entry` macros from the root of the
17+
`uefi` crate.
1618

1719
## uefi-macros - [Unreleased]
1820

uefi/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ pub mod data_types;
8282
pub use self::data_types::CString16;
8383
pub use self::data_types::Identify;
8484
pub use self::data_types::{CStr16, CStr8, Char16, Char8, Event, Guid, Handle};
85-
pub use uefi_macros::guid;
85+
pub use uefi_macros::{cstr16, cstr8, entry, guid};
8686

8787
mod result;
8888
pub use self::result::{Error, Result, ResultExt, Status};

0 commit comments

Comments
 (0)