mirror of https://github.com/synctv-org/synctv.git
Fix: mem align
This commit is contained in:
parent
8798ac5ca9
commit
10c21f31c4
|
@ -23,9 +23,9 @@ type BoolSetting interface {
|
|||
var _ BoolSetting = (*Bool)(nil)
|
||||
|
||||
type Bool struct {
|
||||
value uint32
|
||||
setting
|
||||
defaultValue bool
|
||||
value uint32
|
||||
beforeInit, beforeSet func(BoolSetting, bool) (bool, error)
|
||||
afterInit, afterSet func(BoolSetting, bool)
|
||||
}
|
||||
|
|
|
@ -24,9 +24,9 @@ type Float64Setting interface {
|
|||
var _ Float64Setting = (*Float64)(nil)
|
||||
|
||||
type Float64 struct {
|
||||
value uint64
|
||||
setting
|
||||
defaultValue float64
|
||||
value uint64
|
||||
validator func(float64) error
|
||||
beforeInit, beforeSet func(Float64Setting, float64) (float64, error)
|
||||
afterInit, afterSet func(Float64Setting, float64)
|
||||
|
|
|
@ -23,9 +23,9 @@ type Int64Setting interface {
|
|||
var _ Int64Setting = (*Int64)(nil)
|
||||
|
||||
type Int64 struct {
|
||||
value int64
|
||||
setting
|
||||
defaultValue int64
|
||||
value int64
|
||||
validator func(int64) error
|
||||
beforeInit, beforeSet func(Int64Setting, int64) (int64, error)
|
||||
afterInit, afterSet func(Int64Setting, int64)
|
||||
|
|
Loading…
Reference in New Issue