Skip to content

Commit

Permalink
[feature] hyperledger-iroha#3188: Remove _iroha_wasm_main from docs
Browse files Browse the repository at this point in the history
Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
  • Loading branch information
Arjentix committed Mar 3, 2023
1 parent 1afb087 commit 2e4db17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions wasm/derive/src/entrypoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ pub fn impl_entrypoint(attr: TokenStream, item: TokenStream) -> TokenStream {
quote! {
/// Smart contract entrypoint
#[no_mangle]
#[doc(hidden)]
pub unsafe extern "C" fn _iroha_wasm_main(
) {
#fn_name(#args)
Expand Down
1 change: 1 addition & 0 deletions wasm/derive/src/validator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ pub mod entrypoint {
/// This function transfers the ownership of allocated
/// [`Verdict`](::iroha_wasm::data_model::permission::validator::Verdict)
#[no_mangle]
#[doc(hidden)]
pub unsafe extern "C" fn _iroha_validator_main()
-> *const u8
{
Expand Down

0 comments on commit 2e4db17

Please sign in to comment.