s3eResult s3eMapViewDestroy(s3eMapView* pMapView) { IwTrace(MAPVIEW_VERBOSE, ("calling s3eMapView[3] func: s3eMapViewDestroy")); if (!_extLoad()) return S3E_RESULT_ERROR; #ifdef LOADER_CALL_LOCK s3eDeviceLoaderCallStart(S3E_TRUE, NULL); #endif s3eResult ret = g_Ext.m_s3eMapViewDestroy(pMapView); #ifdef LOADER_CALL_LOCK s3eDeviceLoaderCallDone(S3E_TRUE, NULL); #endif return ret; }
s3eResult s3eMapViewDestroy(s3eMapView* pMapView) { IwTrace(MAPVIEW_VERBOSE, ("calling s3eMapView[3] func: s3eMapViewDestroy")); if (!_extLoad()) return S3E_RESULT_ERROR; #ifdef __mips // For MIPs platform we do not have asm code for stack switching // implemented. So we make LoaderCallStart call manually to set GlobalLock s3eDeviceLoaderCallStart(S3E_TRUE, NULL); #endif s3eResult ret = g_Ext.m_s3eMapViewDestroy(pMapView); #ifdef __mips s3eDeviceLoaderCallDone(S3E_TRUE, NULL); #endif return ret; }