Changeset 22184 for v6

Show
Ignore:
Timestamp:
09/07/08 20:11:11 (3 months ago)
Author:
ruoso
Message:

[smop] implementing destroyall on the array iterator

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • v6/smop/src/smop_s1p_array_iterator.sm0p

    r22183 r22184  
    7070    ret = SMOP_REFERENCE(interpreter,invocant); 
    7171 
     72  } else if (identifier == SMOP__ID__DESTROYALL) { 
     73 
     74    SMOP_RELEASE(interpreter, ((SMOP__S1P__Array_Iterator_struct*)invocant)->input_array); 
     75    SMOP_RELEASE(interpreter, ((SMOP__S1P__Array_Iterator_struct*)invocant)->count); 
     76 
    7277  } else { 
    7378