weatherkit-doomfish 0.3.1

Safe Rust bindings for Apple's WeatherKit framework — weather data on macOS
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use core::ffi::{c_char, c_void};

extern "C" {
    pub fn wk_weather_service_weather_changes(
        handle: *mut c_void,
        latitude: f64,
        longitude: f64,
        out_handle: *mut *mut c_void,
        out_error: *mut *mut c_char,
    ) -> i32;
    pub fn wk_weather_service_historical_comparisons(
        handle: *mut c_void,
        latitude: f64,
        longitude: f64,
        out_handle: *mut *mut c_void,
        out_error: *mut *mut c_char,
    ) -> i32;
}