From 0d085412cb38b74e2205fa88d351efd38cecd6bb Mon Sep 17 00:00:00 2001 From: NikVolf Date: Mon, 24 Apr 2017 17:16:59 +0300 Subject: [PATCH] layout for managed call --- runner/index.html | 20 ++++++++++++++++++-- samples/contract3.rs | 1 - 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/runner/index.html b/runner/index.html index 771129c..39f15d1 100644 --- a/runner/index.html +++ b/runner/index.html @@ -95,7 +95,6 @@ loadWebAssembly('out/contract.wasm') .then(instance => { - debugger; var exports = instance.exports; var call = exports._call; var malloc = exports._malloc; @@ -121,6 +120,23 @@ - +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + \ No newline at end of file diff --git a/samples/contract3.rs b/samples/contract3.rs index ec8b80a..40a772f 100644 --- a/samples/contract3.rs +++ b/samples/contract3.rs @@ -95,7 +95,6 @@ impl CallArgs { // managed in calling code std::mem::forget(result); } - } #[no_mangle]