vise/state/flag.go

25 lines
311 B
Go
Raw Normal View History

package state
const (
FLAG_READIN = iota
FLAG_INMATCH
FLAG_TERMINATE
FLAG_DIRTY
FLAG_WAIT
FLAG_LOADFAIL
2023-04-16 14:34:20 +02:00
FLAG_USERSTART = 8
)
func IsWriteableFlag(flag uint32) bool {
if flag > 7 {
return true
}
//if flag & FLAG_WRITEABLE > 0 {
// return true
//}
return false
}
type FlagDebugger struct {
}