jawt_sys/
lib.rs

1// Copyright (c) 2025 Gobley Contributors.
2
3//! Raw bindings generated from Java AWT headers. For more details about how to
4//! use these bindings, please refer to the [Oracle Documentation].
5//!
6//! [Oracle Documentation]: https://docs.oracle.com/en/java/javase/17/docs/specs/AWT_Native_Interface.html
7
8#![no_std]
9
10#[cfg(target_os = "windows")]
11mod bindings_windows;
12#[cfg(target_os = "windows")]
13pub use bindings_windows::*;
14
15#[cfg(target_os = "macos")]
16mod bindings_macos;
17#[cfg(target_os = "macos")]
18pub use bindings_macos::*;
19
20#[cfg(all(
21    target_family = "unix",
22    not(target_vendor = "apple"),
23    not(target_os = "android")
24))]
25mod bindings_unix;
26#[cfg(all(
27    target_family = "unix",
28    not(target_vendor = "apple"),
29    not(target_os = "android")
30))]
31pub use bindings_unix::*;