mirror of
https://github.com/jorio/Pomme.git
synced 2024-11-27 05:49:18 +00:00
NumToStringC returns string byte length
This commit is contained in:
parent
19b84a4107
commit
aa853a747f
@ -45,9 +45,9 @@ void FlushEvents(short, short)
|
||||
TODOMINOR();
|
||||
}
|
||||
|
||||
void NumToStringC(long theNum, Str255 theString)
|
||||
int NumToStringC(long theNum, Str255 theString)
|
||||
{
|
||||
snprintf(theString, 256, "%ld", theNum);
|
||||
return snprintf(theString, 256, "%ld", theNum);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
@ -250,7 +250,7 @@ void SysBeep(short duration);
|
||||
|
||||
void FlushEvents(short, short);
|
||||
|
||||
void NumToStringC(long theNum, Str255 theString);
|
||||
int NumToStringC(long theNum, Str255 theString);
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Input
|
||||
|
Loading…
Reference in New Issue
Block a user