From 6350e45892b5b0189fe3461ba1e7f530da23ff8f Mon Sep 17 00:00:00 2001 From: Pieter Droogendijk Date: Mon, 29 Jul 2013 19:43:08 +0400 Subject: runtime: allow SetFinalizer with a func(interface{}) Fixes #5368. R=golang-dev, dvyukov CC=golang-dev, rsc https://golang.org/cl/11858043 --- src/pkg/runtime/runtime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pkg/runtime/runtime.h') diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h index 244b548489..a5a425b575 100644 --- a/src/pkg/runtime/runtime.h +++ b/src/pkg/runtime/runtime.h @@ -808,7 +808,7 @@ uintptr runtime·ifacehash(Iface, uintptr); uintptr runtime·efacehash(Eface, uintptr); void* runtime·malloc(uintptr size); void runtime·free(void *v); -bool runtime·addfinalizer(void*, FuncVal *fn, uintptr); +bool runtime·addfinalizer(void*, FuncVal *fn, uintptr, void*); void runtime·runpanic(Panic*); uintptr runtime·getcallersp(void*); int32 runtime·mcount(void); -- cgit v1.3