summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/objc/objc.swg6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/objc/objc.swg b/Lib/objc/objc.swg
index 095686844..4e2ed5c2c 100644
--- a/Lib/objc/objc.swg
+++ b/Lib/objc/objc.swg
@@ -624,15 +624,15 @@
unsigned long,
unsigned short
%{ NSString* aFormat = [NSString stringWithString:@"The value is %d"];
- [NSException raise:@"$1_type exception" format: aFormat, $1] %}
+ [NSException raise:@"$1_type exception" format: aFormat, $1]; %}
%typemap(throws) SWIGTYPE, SWIGTYPE &, SWIGTYPE *, SWIGTYPE [], SWIGTYPE [ANY]
%{ NSString* aFormat = [NSString stringWithString:@"The value is %d"];
- [NSException raise:@"$1_type exception" format: aFormat, $1] %}
+ [NSException raise:@"$1_type exception" format: aFormat, $1]; %}
%typemap(throws) char *
%{ NSString* aFormat = [NSString stringWithString:@"%s"];
- [NSException raise:@"$1_type exception" format: aFormat, $1] %}
+ [NSException raise:@"$1_type exception" format: aFormat, $1]; %}
// Objective-C specific directives