Change prototype for GT_AsString to make it easier usable.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5257 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2011-08-21 20:17:43 +00:00
parent 6e47980eb7
commit b88dc209fc
2 changed files with 12 additions and 5 deletions

View File

@@ -136,8 +136,10 @@ unsigned GT_GetArraySize (StrBuf* Type);
* The index position will get moved past the array size.
*/
void GT_AsString (const StrBuf* Type, StrBuf* String);
/* Convert the type into a readable representation */
const char* GT_AsString (const StrBuf* Type, StrBuf* String);
/* Convert the type into a readable representation. The target string buffer
* will be zero terminated and a pointer to the contents are returned.
*/