MCPcopy Create free account
hub / github.com/aiekick/ImGuiFileDialog / IGFD_Selection_DestroyContent

Function IGFD_Selection_DestroyContent

ImGuiFileDialog.cpp:4887–4897  ·  view source on GitHub ↗

destroy only the content of vSelection

Source from the content-addressed store, hash-verified

4885
4886// destroy only the content of vSelection
4887IGFD_C_API void IGFD_Selection_DestroyContent(IGFD_Selection* vSelection) {
4888 if (vSelection) {
4889 if (vSelection->table) {
4890 for (size_t i = 0U; i < vSelection->count; i++) {
4891 IGFD_Selection_Pair_DestroyContent(&vSelection->table[i]);
4892 }
4893 delete[] vSelection->table;
4894 }
4895 vSelection->count = 0U;
4896 }
4897}
4898
4899// create an instance of ImGuiFileDialog
4900IGFD_C_API ImGuiFileDialog* IGFD_Create(void) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected