Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions runtime/bindings-generator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1501,7 +1501,7 @@ static void Write_objc_msgSend (StringWriter writer, FunctionData func)
// @catch
if (func.MarshalExceptions) {
writer.WriteLine ("\t} @catch (NSException *e) {");
writer.WriteLine ("\t\txamarin_throw_ns_exception (e);");
writer.WriteLine ("\t\txamarin_process_nsexception (e);");
writer.WriteLine ("\t}");
}

Expand Down Expand Up @@ -1579,7 +1579,7 @@ static void Write_objc_msgSendSuper (StringWriter writer, FunctionData func)
// @catch
if (func.MarshalExceptions) {
writer.WriteLine ("\t} @catch (NSException *e) {");
writer.WriteLine ("\t\txamarin_throw_ns_exception (e);");
writer.WriteLine ("\t\txamarin_process_nsexception (e);");
writer.WriteLine ("\t}");
}

Expand Down Expand Up @@ -1653,7 +1653,7 @@ static void Write_objc_msgSend_stret (StringWriter writer, FunctionData func)
// @catch
if (func.MarshalExceptions) {
writer.WriteLine ("\t} @catch (NSException *e) {");
writer.WriteLine ("\t\txamarin_throw_ns_exception (e);");
writer.WriteLine ("\t\txamarin_process_nsexception (e);");
writer.WriteLine ("\t}");
}

Expand Down Expand Up @@ -1727,7 +1727,7 @@ static void Write_objc_msgSendSuper_stret (StringWriter writer, FunctionData fun
// @catch
if (func.MarshalExceptions) {
writer.WriteLine ("\t} @catch (NSException *e) {");
writer.WriteLine ("\t\txamarin_throw_ns_exception (e);");
writer.WriteLine ("\t\txamarin_process_nsexception (e);");
writer.WriteLine ("\t}");
}

Expand Down
8 changes: 4 additions & 4 deletions runtime/bindings.m
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
return ((float_send) objc_msgSend) (self, sel);
#endif
} @catch (NSException *e) {
xamarin_throw_ns_exception (e);
xamarin_process_nsexception (e);
}
}

Expand All @@ -40,7 +40,7 @@
// there is no objc_msgSendSuper_fpret: http://lists.apple.com/archives/objc-language/2006/Jun/msg00012.html
return ((float_sendsuper) objc_msgSendSuper) (super, sel);
} @catch (NSException *e) {
xamarin_throw_ns_exception (e);
xamarin_process_nsexception (e);
}
}

Expand All @@ -54,7 +54,7 @@
return ((nfloat_send) objc_msgSend) (self, sel);
#endif
} @catch (NSException *e) {
xamarin_throw_ns_exception (e);
xamarin_process_nsexception (e);
}
}

Expand All @@ -65,7 +65,7 @@
// there is no objc_msgSendSuper_fpret: http://lists.apple.com/archives/objc-language/2006/Jun/msg00012.html
return ((nfloat_sendsuper) objc_msgSendSuper) (super, sel);
} @catch (NSException *e) {
xamarin_throw_ns_exception (e);
xamarin_process_nsexception (e);
}
}

Expand Down