aboutsummaryrefslogtreecommitdiff
path: root/stream.go
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2019-06-17 02:14:13 -0400
committerDeterminant <ted.sybil@gmail.com>2019-06-17 02:14:13 -0400
commit1dfc133c0167fbba818b46883950bf87554f5dc1 (patch)
tree91d4244e8cd9768f4448588b45cd09e48331c73e /stream.go
parent8ac5ed4cf4518053c81122c01cd4a665aca0a549 (diff)
add unknown peer callback
Diffstat (limited to 'stream.go')
-rw-r--r--stream.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/stream.go b/stream.go
index 4fe7d7b..7d42020 100644
--- a/stream.go
+++ b/stream.go
@@ -6,7 +6,7 @@ import "C"
import "runtime"
type byteArray struct {
- inner *C.struct_bytearray_t
+ inner *C.bytearray_t
}
type ByteArray = *byteArray
@@ -25,7 +25,7 @@ func NewByteArrayMovedFromDataStream(src DataStream) ByteArray {
}
type dataStream struct {
- inner *C.struct_datastream_t
+ inner *C.datastream_t
}
type DataStream = *dataStream