mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
17 lines
No EOL
478 B
C
17 lines
No EOL
478 B
C
///////////////////////////////////////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
#include "../gsCommon.h"
|
|
|
|
gsi_i64 gsiStringToInt64(const char *theNumberStr)
|
|
{
|
|
return atoll(theNumberStr);
|
|
}
|
|
|
|
void gsiInt64ToString(char theNumberStr[33], gsi_i64 theNumber)
|
|
{
|
|
// you want to fit the number!
|
|
// give me a valid string!
|
|
GS_ASSERT(theNumberStr != NULL);
|
|
|
|
sprintf(theNumberStr, "%lld", theNumber);
|
|
} |