Changeset 6780
- Timestamp:
- Jun 29, 2007, 1:00:32 AM (17 years ago)
- File:
-
- 1 edited
-
branches/ide-1.0/ccl/examples/objc-runtime.lisp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/ide-1.0/ccl/examples/objc-runtime.lisp
r6683 r6780 2829 2829 #+apple-objc-2.0 2830 2830 (defmacro with-ns-exceptions-as-errors (&body body) 2831 (let* ((data (gensym)) 2832 (cframe (gensym))) 2833 `(rletZ ((,data :_objc_exception_data)) 2834 (unwind-protect 2835 (progn 2836 (#_objc_exception_try_enter ,data) 2837 (catch ,data 2838 (with-c-frame ,cframe 2839 (%associate-jmp-buf-with-catch-frame 2840 ,data 2841 (%fixnum-ref (%current-tcr) target::tcr.catch-top) 2842 ,cframe) 2843 (progn 2844 ,@body)))) 2845 (check-ns-exception ,data))))) 2831 `(progn ,@body)) 2846 2832 2847 2833
Note:
See TracChangeset
for help on using the changeset viewer.
