src/types.cpp

changeset 461
fbcc91ae1dd2
parent 460
b230ae09c8e5
child 484
5b5c77c7f3dd
equal deleted inserted replaced
460:b230ae09c8e5 461:fbcc91ae1dd2
298 298
299 StringFormatArg::StringFormatArg (const char* v) { 299 StringFormatArg::StringFormatArg (const char* v) {
300 m_val = v; 300 m_val = v;
301 } 301 }
302 302
303 StringFormatArg::StringFormatArg (const strconfig& v) { 303 StringFormatArg::StringFormatArg (const StringConfig& v) {
304 m_val = v.value; 304 m_val = v.value;
305 } 305 }
306 306
307 StringFormatArg::StringFormatArg (const intconfig& v) { 307 StringFormatArg::StringFormatArg (const IntConfig& v) {
308 m_val.number (v.value); 308 m_val.number (v.value);
309 } 309 }
310 310
311 StringFormatArg::StringFormatArg (const floatconfig& v) { 311 StringFormatArg::StringFormatArg (const FloatConfig& v) {
312 m_val.number (v.value); 312 m_val.number (v.value);
313 } 313 }
314 314
315 StringFormatArg::StringFormatArg (const void* v) { 315 StringFormatArg::StringFormatArg (const void* v) {
316 m_val.sprintf ("%p", v); 316 m_val.sprintf ("%p", v);

mercurial