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-27.0.0 ./ext/cargo-vendor/mach2-0.4.2/src/clock_priv.rs
wasmtime-26.0.0 ./ext/cargo-vendor/mach2-0.4.2/src/clock_priv.rs
wasmtime-25.0.2 ./ext/cargo-vendor/mach2-0.4.2/src/clock_priv.rs
wasmtime-25.0.1 ./ext/cargo-vendor/mach2-0.4.2/src/clock_priv.rs
wasmtime-25.0.0 ./ext/cargo-vendor/mach2-0.4.2/src/clock_priv.rs
wasmtime-24.0.0 ./ext/cargo-vendor/mach2-0.4.2/src/clock_priv.rs
wasmtime-23.0.2 ./ext/cargo-vendor/mach2-0.4.2/src/clock_priv.rs
wasmtime-22.0.0 ./ext/cargo-vendor/mach2-0.4.2/src/clock_priv.rs
wasmtime-21.0.1 ./ext/cargo-vendor/mach2-0.4.2/src/clock_priv.rs
wasmtime-20.0.2 ./ext/cargo-vendor/mach2-0.4.2/src/clock_priv.rs
wasmtime-20.0.0 ./ext/cargo-vendor/mach2-0.4.2/src/clock_priv.rs
wasmtime-18.0.3 ./ext/cargo-vendor/mach-0.3.2/src/clock_priv.rs
wasmtime-17.0.1 ./ext/cargo-vendor/mach-0.3.2/src/clock_priv.rs
wasmtime-17.0.0 ./ext/cargo-vendor/mach-0.3.2/src/clock_priv.rs
wasmtime-16.0.0 ./ext/cargo-vendor/mach-0.3.2/src/clock_priv.rs
wasmtime-15.0.1 ./ext/cargo-vendor/mach-0.3.2/src/clock_priv.rs
wasmtime-15.0.0 ./ext/cargo-vendor/mach-0.3.2/src/clock_priv.rs
wasmtime-14.0.4 ./ext/cargo-vendor/mach-0.3.2/src/clock_priv.rs
wasmtime-14.0.3 ./ext/cargo-vendor/mach-0.3.2/src/clock_priv.rs
wasmtime-14.0.1 ./ext/cargo-vendor/mach-0.3.2/src/clock_priv.rs