mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Introduce view (and keep constant as an alias)
This commit is contained in:
+1
-1
@@ -337,7 +337,7 @@ be passed via and returned from external function calls.
|
||||
|
||||
Function types are notated as follows::
|
||||
|
||||
function (<parameter types>) {internal|external} [constant|payable] [returns (<return types>)]
|
||||
function (<parameter types>) {internal|external} [constant|view|payable] [returns (<return types>)]
|
||||
|
||||
In contrast to the parameter types, the return types cannot be empty - if the
|
||||
function type should not return anything, the whole ``returns (<return types>)``
|
||||
|
||||
Reference in New Issue
Block a user