energy/cef/cef-callback.go
2022-10-04 13:21:05 +08:00

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)
}