jawt 0.2.1

Cross-platform Rust bindings to Java AWT
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (c) 2025 Gobley Contributors.

macro_rules! unwrap_fn {
    ($expr:expr, $ty:ident.$fn:ident $(,)?) => {
        ($expr.$fn).expect(concat!(
            stringify!($ty),
            ".",
            stringify!($fn),
            "is not available",
        ))
    };
}

pub(crate) use unwrap_fn;