MCPcopy Create free account
hub / github.com/JoeyDeVries/Cell / ImFormatString

Function ImFormatString

cell/imgui/imgui.cpp:960–971  ·  view source on GitHub ↗

MSVC version appears to return -1 on overflow, whereas glibc appears to return total count (which may be >= buf_size). Ideally we would test for only one of those limits at runtime depending on the behavior the vsnprintf(), but trying to deduct it at compile time sounds like a pandora can of worm.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 12

LoadIniSettingsFromDiskFunction · 0.85
BeginTooltipExFunction · 0.85
BeginPopupExMethod · 0.85
BeginChildExFunction · 0.85
DataTypeFormatStringFunction · 0.85
SliderFloatMethod · 0.85
VSliderFloatMethod · 0.85
DragFloatMethod · 0.85
ProgressBarMethod · 0.85
InputFloatMethod · 0.85
ColorEdit4Method · 0.85
ValueMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected