forked from starnakin/IronGOLEM
clean rename itoa to ntoa for number to ascii
This commit is contained in:
@ -2,15 +2,15 @@ main()
|
||||
{
|
||||
local ptr;
|
||||
|
||||
name = "itoa";
|
||||
name = "ntoa";
|
||||
|
||||
ptr = itoa(9000);
|
||||
ptr = ntoa(9000);
|
||||
test_str(ptr, "9000", "");
|
||||
free(ptr);
|
||||
ptr = itoa(55);
|
||||
ptr = ntoa(55);
|
||||
test_str(ptr, "55", "");
|
||||
free(ptr);
|
||||
ptr = itoa(0);
|
||||
ptr = ntoa(0);
|
||||
test_str(ptr, "0", "");
|
||||
free(ptr);
|
||||
}
|
Reference in New Issue
Block a user