dylink 0.12.0

Run-time dynamic linking loader utilities
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// SPDX-FileCopyrightText: 2022-2026 Jonathan A. Thomason <contact@jonathan-thomason.com>
// SPDX-License-Identifier: MIT OR Apache-2.0

pub trait Sealed {}

#[cfg(windows)]
#[repr(C)]
pub struct Opaque {
	_data: [u8; 0],
	_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

#[cfg(windows)]
impl Sealed for Opaque {}