public static int get_selection_start_offset(cef_domdocument_t *self) { get_selection_start_offset_delegate d; var p = self->_get_selection_start_offset; if (p == _pc) { d = _dc; } else { d = (get_selection_start_offset_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_selection_start_offset_delegate)); if (_pc == IntPtr.Zero) { _dc = d; _pc = p; } } return(d(self)); }
public static int get_selection_start_offset(cef_domdocument_t* self) { get_selection_start_offset_delegate d; var p = self->_get_selection_start_offset; if (p == _pc) { d = _dc; } else { d = (get_selection_start_offset_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_selection_start_offset_delegate)); if (_pc == IntPtr.Zero) { _dc = d; _pc = p; } } return d(self); }