public static void set_to_file(cef_post_data_element_t *self, cef_string_t *fileName) { set_to_file_delegate d; var p = self->_set_to_file; if (p == _p5) { d = _d5; } else { d = (set_to_file_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(set_to_file_delegate)); if (_p5 == IntPtr.Zero) { _d5 = d; _p5 = p; } } d(self, fileName); }
public static void set_to_file(cef_post_data_element_t* self, cef_string_t* fileName) { set_to_file_delegate d; var p = self->_set_to_file; if (p == _p5) { d = _d5; } else { d = (set_to_file_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(set_to_file_delegate)); if (_p5 == IntPtr.Zero) { _d5 = d; _p5 = p; } } d(self, fileName); }