all: split reusable components into workspace crates
This commit is contained in:
parent
2a079ed800
commit
657e7ce2f7
225 changed files with 7422 additions and 17602 deletions
|
|
@ -1,21 +1,3 @@
|
|||
/// Declares the entry point of the configuration.
|
||||
#[macro_export]
|
||||
macro_rules! config {
|
||||
($f:path) => {
|
||||
#[unsafe(no_mangle)]
|
||||
#[used]
|
||||
pub static mut JAY_CONFIG_ENTRY_V1: $crate::_private::ConfigEntry = {
|
||||
struct X;
|
||||
impl $crate::_private::Config for X {
|
||||
extern "C" fn configure() {
|
||||
$f();
|
||||
}
|
||||
}
|
||||
$crate::_private::ConfigEntryGen::<X>::ENTRY
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
macro_rules! try_get {
|
||||
() => {{
|
||||
unsafe {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue