mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #2486 from jamesray1/patch-22
Ref to getter function in docs/miscellaneous.rst
This commit is contained in:
commit
5b26e2bcee
@ -494,7 +494,7 @@ Function Visibility Specifiers
|
||||
return true;
|
||||
}
|
||||
|
||||
- ``public``: visible externally and internally (creates getter function for storage/state variables)
|
||||
- ``public``: visible externally and internally (creates a :ref:`getter function<getter-functions>` for storage/state variables)
|
||||
- ``private``: only visible in the current contract
|
||||
- ``external``: only visible externally (only for functions) - i.e. can only be message-called (via ``this.func``)
|
||||
- ``internal``: only visible internally
|
||||
|
Loading…
Reference in New Issue
Block a user