main.cpp : Added object_t.to_string() test.

This commit is contained in:
kevin.larke 2020-03-24 08:40:13 -04:00
parent b349b07ad8
commit f9428e9b80

View File

@ -173,6 +173,12 @@ void objectTest( cw::object_t* cfg, int argc, const char* argv[] )
o->getv("a",a,"b",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();
}