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
use core::ffi::{c_char, c_void};

extern "C" {
    pub fn wk_hourly_forecast_retain(handle: *mut c_void) -> *mut c_void;
    pub fn wk_hourly_forecast_release(handle: *mut c_void);
    pub fn wk_hourly_forecast_copy_json(
        handle: *mut c_void,
        out_json: *mut *mut c_char,
        out_error: *mut *mut c_char,
    ) -> i32;
}