Skip to content

Commit

Permalink
Stabilize seal_debug_message
Browse files Browse the repository at this point in the history
  • Loading branch information
cmichi committed Aug 30, 2021
1 parent a45d48c commit 8bd7899
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/env/src/engine/on_chain/ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,9 @@ mod sys {
input_len: u32,
output_ptr: Ptr32Mut<[u8]>,
);

#[cfg(feature = "ink-debug")]
pub fn seal_debug_message(str_ptr: Ptr32<[u8]>, str_len: u32) -> ReturnCode;
}

#[link(wasm_import_module = "seal1")]
Expand All @@ -345,8 +348,6 @@ mod sys {

#[link(wasm_import_module = "__unstable__")]
extern "C" {
#[cfg(feature = "ink-debug")]
pub fn seal_debug_message(str_ptr: Ptr32<[u8]>, str_len: u32) -> ReturnCode;

pub fn seal_rent_params(
output_ptr: Ptr32Mut<[u8]>,
Expand Down

0 comments on commit 8bd7899

Please sign in to comment.