public static int move_to_next_file(cef_zip_reader_t *self)
        {
            move_to_next_file_delegate d;
            var p = self->_move_to_next_file;

            if (p == _p4)
            {
                d = _d4;
            }
            else
            {
                d = (move_to_next_file_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(move_to_next_file_delegate));
                if (_p4 == IntPtr.Zero)
                {
                    _d4 = d; _p4 = p;
                }
            }
            return(d(self));
        }
Exemple #2
0
 public static int move_to_next_file(cef_zip_reader_t* self)
 {
     move_to_next_file_delegate d;
     var p = self->_move_to_next_file;
     if (p == _p4) { d = _d4; }
     else
     {
         d = (move_to_next_file_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(move_to_next_file_delegate));
         if (_p4 == IntPtr.Zero) { _d4 = d; _p4 = p; }
     }
     return d(self);
 }