MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / TIXML_SNPRINTF

Function TIXML_SNPRINTF

examples/ThirdPartyLibs/tinyxml2/tinyxml2.cpp:44–51  ·  view source on GitHub ↗

Microsoft Visual Studio, version 2005 and higher. Not WinCE. int _snprintf_s( char *buffer, size_t sizeOfBuffer, size_t count, const char *format [, argument] ... );*/

Source from the content-addressed store, hash-verified

42 argument] ...
43 );*/
44static inline int TIXML_SNPRINTF(char* buffer, size_t size, const char* format, ...)
45{
46 va_list va;
47 va_start(va, format);
48 int result = vsnprintf_s(buffer, size, _TRUNCATE, format, va);
49 va_end(va);
50 return result;
51}
52
53static inline int TIXML_VSNPRINTF(char* buffer, size_t size, const char* format, va_list va)
54{

Callers 2

ToStrMethod · 0.85
SetErrorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected