diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-07-26 19:20:38 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-07-27 06:05:09 +0800 |
commit | 04582dd2cbd2d0b843a3f2f1021204a95a523a71 (patch) | |
tree | 06c2015b06a762d85c176d1e77ff2d41bdb7ad5d /docs/types.rst | |
parent | 15689506c5201275c9bc079fcb5454c4f1cfbc6c (diff) | |
download | dexon-solidity-04582dd2cbd2d0b843a3f2f1021204a95a523a71.tar dexon-solidity-04582dd2cbd2d0b843a3f2f1021204a95a523a71.tar.gz dexon-solidity-04582dd2cbd2d0b843a3f2f1021204a95a523a71.tar.bz2 dexon-solidity-04582dd2cbd2d0b843a3f2f1021204a95a523a71.tar.lz dexon-solidity-04582dd2cbd2d0b843a3f2f1021204a95a523a71.tar.xz dexon-solidity-04582dd2cbd2d0b843a3f2f1021204a95a523a71.tar.zst dexon-solidity-04582dd2cbd2d0b843a3f2f1021204a95a523a71.zip |
Mention that callcode is deprecated
Diffstat (limited to 'docs/types.rst')
-rw-r--r-- | docs/types.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/types.rst b/docs/types.rst index b963c5b7..66dfc627 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -135,6 +135,9 @@ The ``.gas()`` option is available on all three methods, while the ``.value()`` All contracts inherit the members of address, so it is possible to query the balance of the current contract using ``this.balance``. +.. note:: + The use of ``callcode`` is discouraged and will be removed in the future. + .. warning:: All these functions are low-level functions and should be used with care. Specifically, any unknown contract might be malicious and if you call it, you @@ -436,7 +439,8 @@ Another example that uses external function types:: } } -Note that lambda or inline functions are planned but not yet supported. +.. note:: + Lambda or inline functions are planned but not yet supported. .. index:: ! type;reference, ! reference type, storage, memory, location, array, struct |