- Timestamp:
- 09/08/08 19:34:27 (3 months ago)
- Files:
-
- 1 modified
-
v6/smop/src/native_int.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
v6/smop/src/native_int.c
r22092 r22189 48 48 SMOP__Object* other = SMOP__NATIVE__capture_positional(interpreter,capture,0); 49 49 if (other && SMOP_RI(other) == (SMOP__ResponderInterface*)SMOP__NATIVE__int) { 50 SMOP_RELEASE(interpreter, capture); 50 51 return other; 51 52 } else { 52 53 if (other) SMOP_RELEASE(interpreter, other); 54 SMOP_RELEASE(interpreter, capture); 53 55 return SMOP__NATIVE__int_create(0); 54 56 } … … 58 60 ___NATIVE_CAPTURE_ONLY___; 59 61 ___INVOCANT_RI_SHOULD_MATCH___; 60 62 61 63 smop_lowlevel_wrlock(invocant); 62 64 ((smop_native_int_struct*)invocant)->intvalue++; 63 65 smop_lowlevel_unlock(invocant); 64 66 67 SMOP_RELEASE(interpreter, invocant); 68 65 69 } else { 66 70 ___UNKNOWN_METHOD___;
