mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-11 08:10:54 +00:00
13 lines
185 B
Go
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)}
|
|
}
|