Files
llgo/compiler/internal/lib/runtime/mfinal.go

13 lines
333 B
Go
Raw Normal View History

2024-07-11 18:00:20 +08: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.
// Garbage collector: finalizers and block profiling.
package runtime
func SetFinalizer(obj any, finalizer any) {
2024-07-18 22:27:00 +08:00
// TODO(xsw):
// panic("todo: runtime.SetFinalizer")
2024-07-11 18:00:20 +08:00
}