use objc_exception;
use rc::StrongPtr;
use runtime::Object;
pub unsafe fn try<F, R>(closure: F) -> Result<R, StrongPtr>
where F: FnOnce() -> R {
objc_exception::try(closure).map_err(|exception| {
StrongPtr::new(exception as *mut Object)
})
}
| Messung V0.5 in Prozent |
|---|
| | | |
[Verzeichnis aufwärts0.10unsichere VerbindungÜbersetzung europäischer Sprachen durch Browser2026-09-30]