mirror of
https://gitee.com/energye/energy.git
synced 2024-12-15 01:41:49 +08:00
29 lines
403 B
Go
29 lines
403 B
Go
//----------------------------------------
|
|
//
|
|
// Copyright © yanghy. All Rights Reserved.
|
|
//
|
|
// Licensed under GNU General Public License v3.0
|
|
//
|
|
//----------------------------------------
|
|
|
|
package cef
|
|
|
|
var (
|
|
_bind_id = 10000
|
|
_event_id = 10000
|
|
)
|
|
|
|
func __bind_id() int {
|
|
_bind_id++
|
|
return _bind_id
|
|
}
|
|
|
|
func __idReset() {
|
|
_bind_id = 10000
|
|
}
|
|
|
|
func __event_id() int {
|
|
_event_id++
|
|
return _event_id
|
|
}
|