:ref:getter function<getter-functions>

This commit is contained in:
James Ray 2017-07-31 20:32:34 +10:00 committed by GitHub
parent 3c3060dd87
commit 5678a08d58

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:`getter-functions` 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.