Renamed GT_GetArraySize to GT_GetElementCount.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5267 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2011-08-23 18:01:23 +00:00
parent 25171465d3
commit d225866449
2 changed files with 17 additions and 11 deletions

View File

@@ -34,6 +34,7 @@
/* common */
#include "check.h"
#include "gentype.h"
#include "strbuf.h"
@@ -72,9 +73,11 @@ void GT_AddArray (StrBuf* Type, unsigned ArraySize)
unsigned GT_GetArraySize (StrBuf* Type)
/* Retrieve the size of an array stored in Type at the current index position.
* The index position will get moved past the array size.
unsigned GT_GetElementCount (StrBuf* Type)
/* Retrieve the element count of an array stored in Type at the current index
* position. Note: Index must point to the array token itself, since the size
* of the element count is encoded there. The index position will get moved
* past the array.
*/
{
/* Get the number of bytes for the element count */
@@ -123,6 +126,3 @@ const char* GT_AsString (const StrBuf* Type, StrBuf* String)