diff options
author | Scott Kovatch <skovatch> | 2010-05-12 21:57:59 +0000 |
---|---|---|
committer | Scott Kovatch <skovatch> | 2010-05-12 21:57:59 +0000 |
commit | 32c09d8f3234247ca1b573423e5d4d72bbdbf08a (patch) | |
tree | 9fedd4a7b28c916db87ef2b5b89b61c39068c140 /bundles/org.eclipse.swt/Eclipse SWT/common/library/callback.h | |
parent | 3b10046201958be86a73feec334ee6ce020bece3 (diff) | |
download | eclipse.platform.swt-32c09d8f3234247ca1b573423e5d4d72bbdbf08a.tar.gz eclipse.platform.swt-32c09d8f3234247ca1b573423e5d4d72bbdbf08a.tar.xz eclipse.platform.swt-32c09d8f3234247ca1b573423e5d4d72bbdbf08a.zip |
308844 - throw NSException when a runtime exception was received, and then clear it when we exit back to the top of the loop.
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/common/library/callback.h')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/common/library/callback.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/library/callback.h b/bundles/org.eclipse.swt/Eclipse SWT/common/library/callback.h index 47b8c7085c..f44e45b3a6 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/common/library/callback.h +++ b/bundles/org.eclipse.swt/Eclipse SWT/common/library/callback.h @@ -23,6 +23,10 @@ #define RETURN_CAST (LRESULT) #endif +#if defined COCOA +#import <Foundation/Foundation.h> +#endif + #ifndef RETURN_TYPE #define RETURN_TYPE jintLong #endif |