ECode WindowElastos::Destroy() { // ==================before translated====================== // if (mNativeWindowElastos != 0) { // nativeDestroy(mNativeWindowElastos); // mNativeWindowElastos = 0; // } if (mNativeWindowElastos != 0) { NativeDestroy(mNativeWindowElastos); mNativeWindowElastos = 0; } return NOERROR; }
CPathMeasure::~CPathMeasure() { NativeDestroy(mNativeInstance); }