mirror of https://github.com/junegunn/fzf
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
185 B
Go
13 lines
185 B
Go
8 years ago
|
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)}
|
||
|
}
|