void destroy(Pointer<Void> libraryPtr) { _destroy(libraryPtr); // Do not calloc.free the libraryPtr here }