MCPcopy Create free account
hub / github.com/DentonW/DevIL / ilRemoveRegistered

Function ilRemoveRegistered

DevIL/src-IL/src/il_register.cpp:152–172  ·  view source on GitHub ↗

Automatically removes all registered formats.

Source from the content-addressed store, hash-verified

150
151// Automatically removes all registered formats.
152void ilRemoveRegistered()
153{
154 iFormatL *TempNodeL = LoadProcs;
155 iFormatS *TempNodeS = SaveProcs;
156
157 while (LoadProcs != NULL) {
158 TempNodeL = LoadProcs->Next;
159 ifree((void*)LoadProcs->Ext);
160 ifree(LoadProcs);
161 LoadProcs = TempNodeL;
162 }
163
164 while (SaveProcs != NULL) {
165 TempNodeS = SaveProcs->Next;
166 ifree((void*)SaveProcs->Ext);
167 ifree(SaveProcs);
168 SaveProcs = TempNodeS;
169 }
170
171 return;
172}
173
174
175ILboolean iRegisterLoad(ILconst_string FileName)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected