MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / SetIntValue

Method SetIntValue

engine/source/persistence/tinyXML/tinyxml.cpp:1222–1231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1220}
1221
1222void TiXmlAttribute::SetIntValue( int _value )
1223{
1224 char buf [64];
1225 #if defined(TIXML_SNPRINTF)
1226 TIXML_SNPRINTF(buf, sizeof(buf), "%d", _value);
1227 #else
1228 sprintf (buf, "%d", _value);
1229 #endif
1230 SetValue (buf);
1231}
1232
1233void TiXmlAttribute::SetDoubleValue( double _value )
1234{

Callers 1

SetAttributeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected