All pastes #60061 Raw Edit

Mine

public text v1 · immutable
#60061 ·published 2006-05-30 21:48 UTC
rendered paste body
Index: marshalling.m
===================================================================
--- marshalling.m       (revision 61291)
+++ marshalling.m       (working copy)
@@ -33,8 +33,14 @@
 
                id tester = [NativeMarshalTests init];
 
-               if ([tester InvokeCompareWithInt32:-1 Object:native] == FALSE)
+               BOOL result = [tester InvokeCompareWithInt32:-1 Object:native];
+
+               if (result == FALSE)
                        return  2;
+               else if (result == TRUE)
+                        return  3;
+               else
+                       return 4;
 
                return 0;
        } @catch (NSException *ex) {


--------


$ ./marshalling ; echo $?
4