destroy only the content of vSelection
| 4885 | |
| 4886 | // destroy only the content of vSelection |
| 4887 | IGFD_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 |
| 4900 | IGFD_C_API ImGuiFileDialog* IGFD_Create(void) { |
nothing calls this directly
no test coverage detected