1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-09 23:54:20 +00:00

Internals: extracted ImHashSkipUncontributingPrefix() out of CreateNewWindowSettings() and added note about it.

This commit is contained in:
ocornut 2025-08-26 16:19:08 +02:00
parent 9e864012ae
commit 75a4a48d1f
2 changed files with 11 additions and 6 deletions

View file

@ -367,6 +367,7 @@ extern IMGUI_API ImGuiContext* GImGui; // Current implicit context pointer
// Helpers: Hashing
IMGUI_API ImGuiID ImHashData(const void* data, size_t data_size, ImGuiID seed = 0);
IMGUI_API ImGuiID ImHashStr(const char* data, size_t data_size = 0, ImGuiID seed = 0);
IMGUI_API const char* ImHashSkipUncontributingPrefix(const char* label);
// Helpers: Sorting
#ifndef ImQsort