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 aac30b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 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,9 +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]>,
output_len_ptr: Ptr32Mut<u32>,
Expand Down

0 comments on commit aac30b9

Please sign in to comment.