core: all int is now num
This commit is contained in:
@ -7,13 +7,13 @@ main()
|
||||
name = "galloc";
|
||||
|
||||
ptr1 = galloc(1);
|
||||
test_int(ptr1, heap + LOCATION_DATA, "");
|
||||
test_num(ptr1, heap + LOCATION_DATA, "");
|
||||
free(ptr1);
|
||||
|
||||
ptr1 = galloc(1);
|
||||
test_int(ptr1, heap + LOCATION_DATA, "alloc after free");
|
||||
test_num(ptr1, heap + LOCATION_DATA, "alloc after free");
|
||||
free(ptr1);
|
||||
|
||||
ptr2 = galloc(0x9000);
|
||||
test_int(ptr2, 0, "alloc too big");
|
||||
test_num(ptr2, 0, "alloc too big");
|
||||
}
|
||||
|
Reference in New Issue
Block a user