You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
307 B
19 lines
307 B
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
#include "trbase.h"
|
|
|
|
int
|
|
main (int argc, char * argv[])
|
|
{
|
|
void * foo = TR_malloc(strtol(argv[1], NULL, 10));
|
|
|
|
printf("idx: %d / size: %zd / usable_size: %zd\n",
|
|
TR_getIdx(foo),
|
|
TR_getSize(foo),
|
|
TR_getUsableSize(foo));
|
|
|
|
return 0;
|
|
}
|
|
|
|
// vim: set ts=4 sw=4:
|