From 419a0340b3a1c9d70d9ad12782add09f6e10e6fa Mon Sep 17 00:00:00 2001 From: vcaesar Date: Wed, 20 May 2020 10:55:32 -0400 Subject: [PATCH] update version and gomod pkg --- chan/eb_chan.h | 1 + go.mod | 2 +- go.sum | 4 ++-- hook.go | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/chan/eb_chan.h b/chan/eb_chan.h index 72189e1..8ac4fc9 100644 --- a/chan/eb_chan.h +++ b/chan/eb_chan.h @@ -32,6 +32,7 @@ #if (defined(__MINGW32__) || defined(__CYGWIN__)) && !defined(_POSIX_PRIORITY_SCHEDULING) #include + int sched_yield() { return SwitchToThread(); } diff --git a/go.mod b/go.mod index f7ec693..f3163d8 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module github.com/robotn/gohook go 1.13 -require github.com/vcaesar/tt v0.0.0-20200219144246-a190abe69d64 +require github.com/vcaesar/tt v0.10.0 diff --git a/go.sum b/go.sum index 74d89ab..91c4e9b 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -github.com/vcaesar/tt v0.0.0-20200219144246-a190abe69d64 h1:MwxT8hyvPcPafJ2LDmoFuH7Xpz5LZ6W3dKzwVQAHD/k= -github.com/vcaesar/tt v0.0.0-20200219144246-a190abe69d64/go.mod h1:GHPxQYhn+7OgKakRusH7KJ0M5MhywoeLb8Fcffs/Gtg= +github.com/vcaesar/tt v0.10.0 h1:jPtFiRRnCOXVakd5ujCed2dwWwTs91wh8W1iHeUIfc0= +github.com/vcaesar/tt v0.10.0/go.mod h1:GHPxQYhn+7OgKakRusH7KJ0M5MhywoeLb8Fcffs/Gtg= diff --git a/hook.go b/hook.go index 1cbb2ae..174ce5d 100644 --- a/hook.go +++ b/hook.go @@ -32,7 +32,7 @@ import ( const ( // Version get the gohook version - Version = "v0.30.0.80, Sierra Nevada!" + Version = "v0.30.1.83, Sierra Nevada!" // HookEnabled honk enable status HookEnabled = 1 // iota