Function wasmer_c_api::wasm_c_api::unstable::middlewares::metering::wasmer_metering_get_remaining_points
source · #[no_mangle]
pub unsafe extern "C" fn wasmer_metering_get_remaining_points(
instance: &mut wasm_instance_t
) -> u64
Expand description
Returns the remaining metering points. u64::MAX
means
points are exhausted, otherwise it returns the number of
points. Notice that it could include zero! Zero doesn’t mean
points are exhausted yet.
Example
See module’s documentation.