diff options
Diffstat (limited to 'dot-oh-my-zsh/custom/plugins/fzf/src/util/slab.go')
| -rw-r--r-- | dot-oh-my-zsh/custom/plugins/fzf/src/util/slab.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dot-oh-my-zsh/custom/plugins/fzf/src/util/slab.go b/dot-oh-my-zsh/custom/plugins/fzf/src/util/slab.go new file mode 100644 index 00000000..0c49d2d9 --- /dev/null +++ b/dot-oh-my-zsh/custom/plugins/fzf/src/util/slab.go @@ -0,0 +1,12 @@ +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)} +} |
