Getter function ref

This commit is contained in:
James Ray 2017-06-30 19:42:53 +10:00 committed by GitHub
parent c94c77d2d1
commit d2c0c5f462

View File

@ -641,7 +641,7 @@ Not yet, as this requires two levels of dynamic arrays (``string`` is a dynamic
If you issue a call for an array, it is possible to retrieve the whole array? Or must you write a helper function for that? If you issue a call for an array, it is possible to retrieve the whole array? Or must you write a helper function for that?
=========================================================================================================================== ===========================================================================================================================
The automatic :ref:`getters <visibility-and-getters>` function for a public state variable of array type only returns The automatic :ref:`getter function <Getter Functions>` for a public state variable of array type only returns
individual elements. If you want to return the complete array, you have to individual elements. If you want to return the complete array, you have to
manually write a function to do that. manually write a function to do that.