fzf/src/util/slab.go
2016-09-18 14:34:46 +09:00

13 lines
185 B
Go

package util
type Slab struct {
I16 []int16
I32 []int32
}
func MakeSlab(size16 int, size32 int) *Slab {
return &Slab{
I16: make([]int16, size16),
I32: make([]int32, size32)}
}