mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
docs: Calldata arguments are no longer limited to external functions
This commit is contained in:
parent
93bfc76216
commit
60090fb4a9
@ -21,9 +21,6 @@ For state variables, ``external`` is not possible.
|
||||
which means they can be called from other contracts and
|
||||
via transactions. An external function ``f`` cannot be called
|
||||
internally (i.e. ``f()`` does not work, but ``this.f()`` works).
|
||||
External functions are sometimes more efficient when
|
||||
they receive large arrays of data, because the data
|
||||
is not copied from calldata to memory.
|
||||
|
||||
``public``
|
||||
Public functions are part of the contract interface
|
||||
|
Loading…
Reference in New Issue
Block a user