summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/reflect.cgo
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/reflect.cgo')
-rw-r--r--src/pkg/runtime/reflect.cgo8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pkg/runtime/reflect.cgo b/src/pkg/runtime/reflect.cgo
index 016b9e9ec..81c1d4a12 100644
--- a/src/pkg/runtime/reflect.cgo
+++ b/src/pkg/runtime/reflect.cgo
@@ -78,6 +78,14 @@ func chanrecv(ch *byte, val *byte, pres *bool) {
chanrecv((Hchan*)ch, val, pres);
}
+func chanclose(ch *byte) {
+ chanclose((Hchan*)ch);
+}
+
+func chanclosed(ch *byte) (r bool) {
+ r = chanclosed((Hchan*)ch);
+}
+
/*
* Go wrappers around the functions in iface.c