Sha256: a8e6a96896a94eda67c9fb6e45c564581a711cc9fdcf7674251bb6c0c28b47c2

Contents?: true

Size: 543 Bytes

Versions: 36

Compression:

Stored size: 543 Bytes

Contents

//! This module roughly corresponds to `mach/clock_priv.h`.

use clock_types::{clock_attr_t, clock_flavor_t, mach_timespec_t};
use kern_return::kern_return_t;
use mach_types::clock_ctrl_t;
use message::mach_msg_type_number_t;

extern "C" {
    pub fn clock_set_time(clock_ctrl: clock_ctrl_t, new_time: mach_timespec_t) -> kern_return_t;
    pub fn clock_set_attributes(
        clock_ctrl: clock_ctrl_t,
        flavor: clock_flavor_t,
        clock_attr: clock_attr_t,
        clock_attrCnt: mach_msg_type_number_t,
    ) -> kern_return_t;
}

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
wasmtime-14.0.0 ./ext/cargo-vendor/mach-0.3.2/src/clock_priv.rs
wasmtime-13.0.0 ./ext/cargo-vendor/mach-0.3.2/src/clock_priv.rs
wasmtime-12.0.1 ./ext/cargo-vendor/mach-0.3.2/src/clock_priv.rs
wasmtime-12.0.0 ./ext/cargo-vendor/mach-0.3.2/src/clock_priv.rs
wasmtime-11.0.0 ./ext/cargo-vendor/mach-0.3.2/src/clock_priv.rs
wasmtime-10.0.1 ./ext/cargo-vendor/mach-0.3.2/src/clock_priv.rs
wasmtime-10.0.0 ./ext/cargo-vendor/mach-0.3.2/src/clock_priv.rs
wasmtime-9.0.4 ./ext/cargo-vendor/mach-0.3.2/src/clock_priv.rs
wasmtime-9.0.1 ./ext/cargo-vendor/mach-0.3.2/src/clock_priv.rs
wasmtime-8.0.0 ./ext/cargo-vendor/mach-0.3.2/src/clock_priv.rs
wasmtime-7.0.0 ./ext/cargo-vendor/mach-0.3.2/src/clock_priv.rs
wasmtime-6.0.1 ./ext/cargo-vendor/mach-0.3.2/src/clock_priv.rs
wasmtime-6.0.0 ./ext/cargo-vendor/mach-0.3.2/src/clock_priv.rs
wasmtime-5.0.0 ./ext/cargo-vendor/mach-0.3.2/src/clock_priv.rs
wasmtime-0.4.1 ./ext/cargo-vendor/mach-0.3.2/src/clock_priv.rs
wasmtime-0.4.0 ./ext/cargo-vendor/mach-0.3.2/src/clock_priv.rs