diff options
author | Denton Liu <liu.denton+github@gmail.com> | 2016-08-17 01:48:54 +0800 |
---|---|---|
committer | Denton Liu <liu.denton+github@gmail.com> | 2016-08-24 23:43:56 +0800 |
commit | 41ad2110c276ec78b403c0ee96a11a96407e0d1b (patch) | |
tree | 59f986f6e77a6db58fde3c8c1be87741b7427852 /docs/control-structures.rst | |
parent | 1655f3b7bf3b8594ed37c072e5fd6ab00d89d802 (diff) | |
download | dexon-solidity-41ad2110c276ec78b403c0ee96a11a96407e0d1b.tar.gz dexon-solidity-41ad2110c276ec78b403c0ee96a11a96407e0d1b.tar.zst dexon-solidity-41ad2110c276ec78b403c0ee96a11a96407e0d1b.zip |
Fix control-structures
Diffstat (limited to 'docs/control-structures.rst')
-rw-r--r-- | docs/control-structures.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/control-structures.rst b/docs/control-structures.rst index 73b0131f..739620a2 100644 --- a/docs/control-structures.rst +++ b/docs/control-structures.rst @@ -520,14 +520,14 @@ The opcodes ``pushi`` and ``jumpdest`` cannot be used directly. | create(v, p, s) | | create new contract with code mem[p..(p+s)) and send v wei | | | | and return the new address | +-------------------------+------+-----------------------------------------------------------------+ -| call(g, a, v, in, | | call contract at address a with input mem[in..(in+insize)] | +| call(g, a, v, in, | | call contract at address a with input mem[in..(in+insize)) | | insize, out, outsize) | | providing g gas and v wei and output area | -| | | mem[out..(out+outsize)] returting 1 on error (out of gas) | +| | | mem[out..(out+outsize)) returning 1 on error (out of gas) | +-------------------------+------+-----------------------------------------------------------------+ -| callcode(g, a, v, in, | | identical to call but only use the code from a and stay | +| callcode(g, a, v, in, | | identical to `call` but only use the code from a and stay | | insize, out, outsize) | | in the context of the current contract otherwise | +-------------------------+------+-----------------------------------------------------------------+ -| delegatecall(g, a, in, | | identical to callcode but also keep ``caller`` | +| delegatecall(g, a, in, | | identical to `callcode` but also keep ``caller`` | | insize, out, outsize) | | and ``callvalue`` | +-------------------------+------+-----------------------------------------------------------------+ | return(p, s) | `*` | end execution, return data mem[p..(p+s)) | |