2008-11-17 13:32:35 -07:00
|
|
|
// Copyright 2009 The Go Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
package allocator
|
|
|
|
|
|
|
|
export func free(*byte)
|
|
|
|
export func malloc(int) *byte
|
|
|
|
export func memset(*byte, int, int)
|
|
|
|
export var footprint int64
|
|
|
|
export var frozen bool
|
|
|
|
export func testsizetoclass()
|
2008-12-04 22:04:26 -07:00
|
|
|
export var allocated int64
|
2008-12-05 16:24:18 -07:00
|
|
|
export func find(uint64) (obj *byte, size int64, ref *int32, ok bool)
|
|
|
|
export func gc()
|