public static cef_string_userfree *get_file_name(cef_zip_reader_t *self) { get_file_name_delegate d; var p = self->_get_file_name; if (p == _p7) { d = _d7; } else { d = (get_file_name_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_file_name_delegate)); if (_p7 == IntPtr.Zero) { _d7 = d; _p7 = p; } } return(d(self)); }
public static cef_string_userfree* get_file_name(cef_drag_data_t* self) { get_file_name_delegate d; var p = self->_get_file_name; if (p == _pe) { d = _de; } else { d = (get_file_name_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_file_name_delegate)); if (_pe == IntPtr.Zero) { _de = d; _pe = p; } } return d(self); }