main.cpp : Added object_t.to_string() test.
This commit is contained in:
parent
b349b07ad8
commit
f9428e9b80
@ -174,6 +174,12 @@ void objectTest( cw::object_t* cfg, int argc, const char* argv[] )
|
|||||||
o->getv("a",a,"b",b);
|
o->getv("a",a,"b",b);
|
||||||
printf("G: %i %i\n",a,b);
|
printf("G: %i %i\n",a,b);
|
||||||
|
|
||||||
|
const unsigned bufN = 128;
|
||||||
|
char buf[bufN];
|
||||||
|
|
||||||
|
unsigned i = o->to_string(buf,bufN);
|
||||||
|
printf("%i : %s\n",i, buf);
|
||||||
|
|
||||||
o->free();
|
o->free();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user