From 40c8fbbbb72a56e1ba7dded82d5b14354f931e91 Mon Sep 17 00:00:00 2001 From: Joseph Poirier Date: Sat, 21 Nov 2015 19:23:31 -0600 Subject: [PATCH] fix the async callback so it's backward compat --- rtlsdr.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtlsdr.go b/rtlsdr.go index f769c01..22ed248 100644 --- a/rtlsdr.go +++ b/rtlsdr.go @@ -34,10 +34,10 @@ static inline rtlsdr_read_async_cb_t get_go_cb() { import "C" // Current version. -var PackageVersion = "v2.9.6" +var PackageVersion = "v2.9.7" // ReadAsyncCbT defines a user callback function type. -type ReadAsyncCbT func([]byte) +type ReadAsyncCbT func([]byte, _ *UserCtx) var clientCb ReadAsyncCbT