From e6e4e9443661bab3bb69a6c32dacfaf0e54f32ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Sun, 30 Sep 2018 16:32:47 +0200 Subject: nexgb: regenerate from xcb-proto 1.12 To refresh documentation. --- nexgb/bigreq/bigreq.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'nexgb/bigreq') diff --git a/nexgb/bigreq/bigreq.go b/nexgb/bigreq/bigreq.go index b0dd1a8..237e6f3 100644 --- a/nexgb/bigreq/bigreq.go +++ b/nexgb/bigreq/bigreq.go @@ -71,7 +71,7 @@ type EnableCookie struct { } // Enable sends a checked request. -// If an error occurs, it will be returned with the reply by calling EnableCookie.Reply() +// If an error occurs, it will be returned with the reply by calling EnableCookie.Reply. func Enable(c *xgb.Conn) EnableCookie { c.ExtLock.RLock() defer c.ExtLock.RUnlock() @@ -135,8 +135,7 @@ func enableReply(buf []byte) *EnableReply { return v } -// Write request to wire for Enable -// enableRequest writes a Enable request to a byte slice. +// enableRequest writes a Enable request to a byte slice for transfer. func enableRequest(c *xgb.Conn) []byte { size := 4 b := 0 -- cgit v1.2.3