mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-07 21:28:21 +00:00
feat(c-api) Add _delete and rename _value to wasmer_metering_points_unwrap_or.
This commit is contained in:
@@ -73,7 +73,13 @@ pub struct wasmer_metering_points_t {
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub unsafe extern "C" fn wasmer_metering_points_value(
|
||||
pub unsafe extern "C" fn wasmer_metering_points_delete(
|
||||
_metering_points: Option<Box<wasmer_metering_points_t>>,
|
||||
) {
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub unsafe extern "C" fn wasmer_metering_points_unwrap_or(
|
||||
metering_points: &wasmer_metering_points_t,
|
||||
exhausted: u64,
|
||||
) -> u64 {
|
||||
|
||||
Reference in New Issue
Block a user