//! Internal, public functions that are called from downstream extensions.
use ;
use crateModuleStartup;
/// A mutex type that contains a [`ModuleStartup`] instance.
pub type ModuleStartupMutex = ;
/// The initialisation value for [`ModuleStartupMutex`]. By default the mutex
/// contains [`None`].
pub const MODULE_STARTUP_INIT: ModuleStartupMutex = const_mutex;
/// Called by startup functions registered with the [`#[php_startup]`] macro.
/// Initializes all classes that are defined by ext-php-rs (i.e. `Closure`).
///
/// [`#[php_startup]`]: `crate::php_startup`
// TODO: Measure this