pike.git / src / modules / _Stdio / buffer.cmod

version» Context lines:

pike.git/src/modules/_Stdio/buffer.cmod:2744:    if( THIS->obj->prog && THIS->io )    THIS->rewind_to = THIS->io->offset;    }       EXIT {    if( THIS->io && THIS->obj->prog )    THIS->io->locked_move--;    free_object( THIS->obj );    }    -  PIKEFUN void destroy( int reason ) +  PIKEFUN void _destruct( int reason )    flags ID_PRIVATE;    {    if( reason > 1 && THIS->auto_mode ) /* no refs or gc */    {    if( THIS->io && THIS->obj->prog )    THIS->io->offset = THIS->rewind_to;    }    }       /*! @decl void rewind()