aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/pquerna/ffjson/fflib/v1/buffer_nopool.go
blob: b84af6ff9688bf1d737cb28cfc3976ed694bee7b (plain)
1
2
3
4
5
6
7
8
9
10
11
// +build !go1.3

package v1

// Stub version of buffer_pool.go for Go 1.2, which doesn't have sync.Pool.

func Pool(b []byte) {}

func makeSlice(n int) []byte {
	return make([]byte, n)
}