descriptor infos go to stderr
This commit is contained in:
parent
b861e8c86b
commit
939b516625
14
bubulles.c
14
bubulles.c
@ -121,18 +121,18 @@ return ( &where->bbs[idx] );
|
||||
int print_bublist_desc(BBList *bbl, int opts)
|
||||
{
|
||||
|
||||
printf("------- bblist at %p\n", bbl);
|
||||
printf("\tname \t'%s'\n", bbl->name);
|
||||
fprintf(stderr, "------- bblist at %p\n", bbl);
|
||||
fprintf(stderr, "\tname \t'%s'\n", bbl->name);
|
||||
|
||||
printf("\tsize\t%6d\n\tfidx\t%6d\n", bbl->size, bbl->fidx);
|
||||
fprintf(stderr, "\tsize\t%6d\n\tfidx\t%6d\n", bbl->size, bbl->fidx);
|
||||
if (opts & 0x01) {
|
||||
printf("\txyz\t%f %f %f\n",
|
||||
fprintf(stderr, "\txyz\t%f %f %f\n",
|
||||
bbl->position.x, bbl->position.y, bbl->position.z);
|
||||
}
|
||||
printf("\tflags\t0x%08lX\n", bbl->flags);
|
||||
printf("\tarray\t%p\n", bbl->bbs);
|
||||
fprintf(stderr, "\tflags\t0x%08lX\n", bbl->flags);
|
||||
fprintf(stderr, "\tarray\t%p\n", bbl->bbs);
|
||||
|
||||
puts(""); fflush(stdout);
|
||||
fflush(stderr);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user