public static int send_process_message(cef_browser_t *self, CefProcessId target_process, cef_process_message_t *message) { send_process_message_delegate d; var p = self->_send_process_message; if (p == _p17) { d = _d17; } else { d = (send_process_message_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(send_process_message_delegate)); if (_p17 == IntPtr.Zero) { _d17 = d; _p17 = p; } } return(d(self, target_process, message)); }
public static void send_process_message(cef_frame_t *self, CefProcessId target_process, cef_process_message_t *message) { send_process_message_delegate d; var p = self->_send_process_message; if (p == _p1c) { d = _d1c; } else { d = (send_process_message_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(send_process_message_delegate)); if (_p1c == IntPtr.Zero) { _d1c = d; _p1c = p; } } d(self, target_process, message); }
public static int send_process_message(cef_browser_t* self, CefProcessId target_process, cef_process_message_t* message) { send_process_message_delegate d; var p = self->_send_process_message; if (p == _p17) { d = _d17; } else { d = (send_process_message_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(send_process_message_delegate)); if (_p17 == IntPtr.Zero) { _d17 = d; _p17 = p; } } return d(self, target_process, message); }