aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/runtime.h
diff options
context:
space:
mode:
authorPieter Droogendijk <pieter@binky.org.uk>2013-07-29 19:43:08 +0400
committerDmitriy Vyukov <dvyukov@google.com>2013-07-29 19:43:08 +0400
commit6350e45892b5b0189fe3461ba1e7f530da23ff8f (patch)
treefe90ee9ca61e20117ea8e420d3df9fac029e7f5d /src/pkg/runtime/runtime.h
parent3398322d5ebaf7b870f07aebae92fc2fd047704c (diff)
downloadgo-6350e45892b5b0189fe3461ba1e7f530da23ff8f.tar.xz
runtime: allow SetFinalizer with a func(interface{})
Fixes #5368. R=golang-dev, dvyukov CC=golang-dev, rsc https://golang.org/cl/11858043
Diffstat (limited to 'src/pkg/runtime/runtime.h')
-rw-r--r--src/pkg/runtime/runtime.h2
1 files changed, 1 insertions, 1 deletions
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);