void IoCFFILibrary_free(IoCFFILibrary *self) { DynLib *library = DATA(self)->library; if (library && DynLib_isOpen(library)) { DynLib_close(library); DynLib_free(library); } free(DATA(self)); }
void IoDynLib_free(IoDynLib *self) { DynLib_free(DATA(self)); }