diff options
| author | Pieter Droogendijk <pieter@binky.org.uk> | 2013-07-29 19:43:08 +0400 |
|---|---|---|
| committer | Dmitriy Vyukov <dvyukov@google.com> | 2013-07-29 19:43:08 +0400 |
| commit | 6350e45892b5b0189fe3461ba1e7f530da23ff8f (patch) | |
| tree | fe90ee9ca61e20117ea8e420d3df9fac029e7f5d /src/pkg/runtime/runtime.h | |
| parent | 3398322d5ebaf7b870f07aebae92fc2fd047704c (diff) | |
| download | go-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.h | 2 |
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); |
