Esempio n. 1
0
//export go_OnBeforePopup
func go_OnBeforePopup(
	self *C.struct__cef_life_span_handler_t,
	browser *C.struct__cef_browser_t,
	frame *C.struct__cef_frame_t,
	target_url *C.cef_string_t,
	target_frame_name *C.cef_string_t,
	popupFeatures *C.struct__cef_popup_features_t,
	windowInfo *C.struct__cef_window_info_t,
	client **C.struct__cef_client_t,
	settings *C.struct__cef_browser_settings_t,
	no_javascript_access *C.int) int {

	C.releaseVoid(unsafe.Pointer(browser))
	C.releaseVoid(unsafe.Pointer(frame))
	C.releaseVoid(unsafe.Pointer(popupFeatures))
	C.releaseVoid(unsafe.Pointer(windowInfo))
	//C.releaseVoid(unsafe.Pointer(client))
	C.releaseVoid(unsafe.Pointer(settings))
	return 1
}
Esempio n. 2
0
func (b CefFrameT) Release() {
	C.releaseVoid(unsafe.Pointer(b.CStruct))
}
Esempio n. 3
0
func (b CefResponseT) Release() {
	C.releaseVoid(unsafe.Pointer(b.CStruct))
}
Esempio n. 4
0
func Release(w unsafe.Pointer) int {
	return int(C.releaseVoid(w))
}
Esempio n. 5
0
func (b CefCallbackT) Release() {
	C.releaseVoid(unsafe.Pointer(b.CStruct))
}
Esempio n. 6
0
func (b CefBrowserT) Release() {
	C.releaseVoid(unsafe.Pointer(b.CStruct))
}