Skip to main content

pamoja_ds18b20_thermometers_get

Function pamoja_ds18b20_thermometers_get 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_ds18b20_thermometers_get( thermometers: *const PamojaDs18b20Thermometers, index: usize, ) -> *mut PamojaDs18b20Thermometer
Expand description

Copies one thermometer out of a list.

§Arguments

§Returns

A new thermometer, which the caller releases with pamoja_ds18b20_thermometer_free, or null for a null list or an index past the end.

§Safety

thermometers must be a live handle or null.