lstForSafe

4.3.4/27
Scansione sicura di una lista. Da usare nei casi si intenda ricercare in modo ricorsivo o annidato.

Sintassi

lstForSafe(EH_LST psList,void * psElement, EH_LST_I * psListI)

Parametri



Esempio

In realtà è una macro che usa psListI come variabile di appoggio.

	EH_FONT *	psFont;
	EH_LST_I *	psLsti;
	lstForSafe(sys.lstFontCache,psFont,psLsti)
	{
		fontDestroy(psFont,false);
	}

Attenzione
Il sistema è semplice ma non permette di fare un lstLoop sulla stessa lista all'interno di un lstLoop.
In questo caso usare lstForSafe
Easyhand C/C++: lstForSafe | Last modified: 29/06/2020 22.00.24 Europe/Rome | #1.2251
P.. 192
Easyhand C/C++
Una mano alle tue idee.
Privacy Policy