mirror of
https://gitee.com/energye/energy.git
synced 2024-12-01 03:07:47 +08:00
25 lines
440 B
Go
25 lines
440 B
Go
|
//----------------------------------------
|
||
|
//
|
||
|
// Copyright © yanghy. All Rights Reserved.
|
||
|
//
|
||
|
// Licensed under Apache License 2.0
|
||
|
//
|
||
|
//----------------------------------------
|
||
|
|
||
|
package cef
|
||
|
|
||
|
import "unsafe"
|
||
|
|
||
|
type ICefCallback struct {
|
||
|
instance uintptr
|
||
|
ptr unsafe.Pointer
|
||
|
}
|
||
|
|
||
|
func (m *ICefCallback) Cont() {
|
||
|
Proc("cefCallback_Cont").Call(m.instance)
|
||
|
}
|
||
|
|
||
|
func (m *ICefCallback) Cancel() {
|
||
|
Proc("cefCallback_Cancel").Call(m.instance)
|
||
|
}
|