Example #1
0
void IoCFFILibrary_free(IoCFFILibrary *self)
{
	DynLib *library = DATA(self)->library;

	if (library && DynLib_isOpen(library))
	{
		DynLib_close(library);
		DynLib_free(library);
	}

	free(DATA(self));
}
Example #2
0
void IoDynLib_free(IoDynLib *self)
{
	DynLib_free(DATA(self));
}