Skip to main content

pamoja_geofence_new

Function pamoja_geofence_new 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_geofence_new( center: PamojaCoordinate, radius_m: f64, ) -> *mut PamojaGeofence
Expand description

Creates a circular geofence of radius_m around center.

§Returns

A handle the caller must release with pamoja_geofence_free.

§Safety

The returned handle must be freed exactly once.