-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
21 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
pub const ExtismPointer = u64; | ||
pub extern fn extism_input_length() u64; | ||
pub extern fn extism_length(ExtismPointer) u64; | ||
pub extern fn extism_alloc(u64) ExtismPointer; | ||
pub extern fn extism_free(ExtismPointer) void; | ||
pub extern fn extism_input_load_u8(ExtismPointer) u8; | ||
pub extern fn extism_input_load_u64(ExtismPointer) u64; | ||
pub extern fn extism_output_set(ExtismPointer, u64) void; | ||
pub extern fn extism_error_set(ExtismPointer) void; | ||
pub extern fn extism_config_get(ExtismPointer) ExtismPointer; | ||
pub extern fn extism_var_get(ExtismPointer) ExtismPointer; | ||
pub extern fn extism_var_set(ExtismPointer, ExtismPointer) void; | ||
pub extern fn extism_store_u8(ExtismPointer, u8) void; | ||
pub extern fn extism_load_u8(ExtismPointer) u8; | ||
pub extern fn extism_store_u64(ExtismPointer, u64) void; | ||
pub extern fn extism_load_u64(ExtismPointer) u64; | ||
pub extern fn extism_http_request(ExtismPointer, ExtismPointer) ExtismPointer; | ||
pub extern fn extism_http_status_code() i32; | ||
pub extern fn extism_log_info(ExtismPointer) void; | ||
pub extern fn extism_log_debug(ExtismPointer) void; | ||
pub extern fn extism_log_warn(ExtismPointer) void; | ||
pub extern fn extism_log_error(ExtismPointer) void; | ||
pub extern "extism:env" fn extism_input_length() u64; | ||
pub extern "extism:env" fn extism_length(ExtismPointer) u64; | ||
pub extern "extism:env" fn extism_alloc(u64) ExtismPointer; | ||
pub extern "extism:env" fn extism_free(ExtismPointer) void; | ||
pub extern "extism:env" fn extism_input_load_u8(ExtismPointer) u8; | ||
pub extern "extism:env" fn extism_input_load_u64(ExtismPointer) u64; | ||
pub extern "extism:env" fn extism_output_set(ExtismPointer, u64) void; | ||
pub extern "extism:env" fn extism_error_set(ExtismPointer) void; | ||
pub extern "extism:env" fn extism_config_get(ExtismPointer) ExtismPointer; | ||
pub extern "extism:env" fn extism_var_get(ExtismPointer) ExtismPointer; | ||
pub extern "extism:env" fn extism_var_set(ExtismPointer, ExtismPointer) void; | ||
pub extern "extism:env" fn extism_store_u8(ExtismPointer, u8) void; | ||
pub extern "extism:env" fn extism_load_u8(ExtismPointer) u8; | ||
pub extern "extism:env" fn extism_store_u64(ExtismPointer, u64) void; | ||
pub extern "extism:env" fn extism_load_u64(ExtismPointer) u64; | ||
pub extern "extism:env" fn extism_http_request(ExtismPointer, ExtismPointer) ExtismPointer; | ||
pub extern "extism:env" fn extism_http_status_code() i32; | ||
pub extern "extism:env" fn extism_log_info(ExtismPointer) void; | ||
pub extern "extism:env" fn extism_log_debug(ExtismPointer) void; | ||
pub extern "extism:env" fn extism_log_warn(ExtismPointer) void; | ||
pub extern "extism:env" fn extism_log_error(ExtismPointer) void; |